diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-01-27 14:47:19 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-02-19 21:03:06 +0100 |
commit | 76b5f44f05f3ea9f56707ed0f6c4bff2fa7673e8 (patch) | |
tree | 8cf073b7ef13976ee9685a773fa4dbff04550ada /tests/Core/Command/Apps/AppsDisableTest.php | |
parent | 03d31926385624abe4b24b98dee93e132049889c (diff) | |
download | nextcloud-server-76b5f44f05f3ea9f56707ed0f6c4bff2fa7673e8.tar.gz nextcloud-server-76b5f44f05f3ea9f56707ed0f6c4bff2fa7673e8.zip |
Strict Types, Return Types
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'tests/Core/Command/Apps/AppsDisableTest.php')
-rw-r--r-- | tests/Core/Command/Apps/AppsDisableTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Core/Command/Apps/AppsDisableTest.php b/tests/Core/Command/Apps/AppsDisableTest.php index 1e3c4019f52..d9c43a79c26 100644 --- a/tests/Core/Command/Apps/AppsDisableTest.php +++ b/tests/Core/Command/Apps/AppsDisableTest.php @@ -1,4 +1,5 @@ <?php +declare(strict_types=1); /** * @copyright Copyright (c) 2019, Daniel Kesselberg (mail@danielkesselberg.de) * @@ -55,7 +56,7 @@ class AppsDisableTest extends TestCase { * @param $statusCode * @param $output */ - public function testCommandInput($appId, $statusCode, $output) { + public function testCommandInput($appId, $statusCode, $output): void { $input = ['app-id' => $appId]; $this->commandTester->execute($input); @@ -64,7 +65,7 @@ class AppsDisableTest extends TestCase { $this->assertSame($statusCode, $this->commandTester->getStatusCode()); } - public function dataCommandInput() { + public function dataCommandInput(): array { return [ [['admin_audit'], 0, 'admin_audit disabled'], [['comments'], 0, 'comments disabled'], |