diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-04-09 15:53:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 15:53:09 +0200 |
commit | c56a273b39186c509c57ef6bec221d3c4e3d81d3 (patch) | |
tree | b2e4095e763874699646c2c90e41785c99b6f247 /apps/provisioning_api/tests/Controller/UsersControllerTest.php | |
parent | f0dd71ccd266ede38114d25be035abb3f2661fc8 (diff) | |
parent | afbd9c4e6ed834e713039f2cff88ba3eec03dadb (diff) | |
download | nextcloud-server-c56a273b39186c509c57ef6bec221d3c4e3d81d3.tar.gz nextcloud-server-c56a273b39186c509c57ef6bec221d3c4e3d81d3.zip |
Merge pull request #20383 from nextcloud/techdebt/function-spacing
Unify function spacing to PSR2 recommendation
Diffstat (limited to 'apps/provisioning_api/tests/Controller/UsersControllerTest.php')
-rw-r--r-- | apps/provisioning_api/tests/Controller/UsersControllerTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/provisioning_api/tests/Controller/UsersControllerTest.php b/apps/provisioning_api/tests/Controller/UsersControllerTest.php index a5a79c23ebd..aff12547ec0 100644 --- a/apps/provisioning_api/tests/Controller/UsersControllerTest.php +++ b/apps/provisioning_api/tests/Controller/UsersControllerTest.php @@ -439,7 +439,7 @@ class UsersControllerTest extends TestCase { $this->config ->expects($this->any()) ->method('getAppValue') - ->willReturnCallback(function($appid, $key, $default) { + ->willReturnCallback(function ($appid, $key, $default) { if($key === 'newUser.generateUserID') { return 'yes'; } @@ -477,7 +477,7 @@ class UsersControllerTest extends TestCase { $this->secureRandom->expects($this->any()) ->method('generate') ->with(10) - ->willReturnCallback(function() { return (string)rand(1000000000, 9999999999); }); + ->willReturnCallback(function () { return (string)rand(1000000000, 9999999999); }); $this->assertTrue(key_exists( 'id', @@ -494,7 +494,7 @@ class UsersControllerTest extends TestCase { $this->config ->expects($this->any()) ->method('getAppValue') - ->willReturnCallback(function($appid, $key, $default) { + ->willReturnCallback(function ($appid, $key, $default) { if($key === 'newUser.generateUserID') { return 'yes'; } @@ -537,7 +537,7 @@ class UsersControllerTest extends TestCase { $this->config ->expects($this->any()) ->method('getAppValue') - ->willReturnCallback(function($appid, $key, $default) { + ->willReturnCallback(function ($appid, $key, $default) { if($key === 'newUser.requireEmail') { return 'yes'; } |