diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 10:35:09 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 10:35:09 +0200 |
commit | 14c996d98256de958da367297c3313e0fa7ef9a8 (patch) | |
tree | 27074d5403b67cbaf59d7b7181481ebe70af5d9e /tests/Core | |
parent | d6e17fb01777866674129a5883c03642f4bfd4a5 (diff) | |
download | nextcloud-server-14c996d98256de958da367297c3313e0fa7ef9a8.tar.gz nextcloud-server-14c996d98256de958da367297c3313e0fa7ef9a8.zip |
Use elseif instead of else if
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/Core')
-rw-r--r-- | tests/Core/Command/Group/AddUserTest.php | 2 | ||||
-rw-r--r-- | tests/Core/Command/Group/ListCommandTest.php | 2 | ||||
-rw-r--r-- | tests/Core/Command/Group/RemoveUserTest.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/Core/Command/Group/AddUserTest.php b/tests/Core/Command/Group/AddUserTest.php index 800e5ecd4f4..ad7267ca841 100644 --- a/tests/Core/Command/Group/AddUserTest.php +++ b/tests/Core/Command/Group/AddUserTest.php @@ -61,7 +61,7 @@ class AddUserTest extends TestCase { ->willReturnCallback(function ($arg) { if ($arg === 'group') { return 'myGroup'; - } else if ($arg === 'user') { + } elseif ($arg === 'user') { return 'myUser'; } throw new \Exception(); diff --git a/tests/Core/Command/Group/ListCommandTest.php b/tests/Core/Command/Group/ListCommandTest.php index 6f2a45c9706..19ed9942145 100644 --- a/tests/Core/Command/Group/ListCommandTest.php +++ b/tests/Core/Command/Group/ListCommandTest.php @@ -59,7 +59,7 @@ class ListCommandTest extends TestCase { ->willReturnCallback(function ($arg) { if ($arg === 'limit') { return '100'; - } else if ($arg === 'offset') { + } elseif ($arg === 'offset') { return '42'; } throw new \Exception(); diff --git a/tests/Core/Command/Group/RemoveUserTest.php b/tests/Core/Command/Group/RemoveUserTest.php index 18d8512fcaa..f9a25face3b 100644 --- a/tests/Core/Command/Group/RemoveUserTest.php +++ b/tests/Core/Command/Group/RemoveUserTest.php @@ -61,7 +61,7 @@ class RemoveUserTest extends TestCase { ->willReturnCallback(function ($arg) { if ($arg === 'group') { return 'myGroup'; - } else if ($arg === 'user') { + } elseif ($arg === 'user') { return 'myUser'; } throw new \Exception(); |