diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-09-20 22:03:05 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2020-09-25 19:18:04 +0200 |
commit | 60ab4941cc7e6ede095e9e4aee3c2bf9a5c3bff6 (patch) | |
tree | baf0b07dd1c545efeb59437af46a99f4d9f69425 /tests/Unit/Db/MapperTestUtility.php | |
parent | 2c8b4fa019749113658b9ed8cae211b679e4cbc0 (diff) |
Move to nextcloud config and update phpunit
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'tests/Unit/Db/MapperTestUtility.php')
-rw-r--r-- | tests/Unit/Db/MapperTestUtility.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Unit/Db/MapperTestUtility.php b/tests/Unit/Db/MapperTestUtility.php index 5417e16bc..b414b43e3 100644 --- a/tests/Unit/Db/MapperTestUtility.php +++ b/tests/Unit/Db/MapperTestUtility.php @@ -43,7 +43,7 @@ abstract class MapperTestUtility extends TestCase * Run this function before the actual test to either set or initialize the * db. After this the db can be accessed by using $this->db */ - protected function setUp() + protected function setUp(): void { parent::setUp(); @@ -64,7 +64,7 @@ abstract class MapperTestUtility extends TestCase * @param array $array * @return bool true if associative */ - private function isAssocArray(array $array) + private function isAssocArray(array $array) { return array_values($array) !== $array; } @@ -75,7 +75,7 @@ abstract class MapperTestUtility extends TestCase * @param $value * @return PDO constant */ - private function getPDOType($value) + private function getPDOType($value) { switch (gettype($value)) { case 'integer': |