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 /tests/lib/AppFramework/Middleware/AdditionalScriptsMiddlewareTest.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 'tests/lib/AppFramework/Middleware/AdditionalScriptsMiddlewareTest.php')
-rw-r--r-- | tests/lib/AppFramework/Middleware/AdditionalScriptsMiddlewareTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/AppFramework/Middleware/AdditionalScriptsMiddlewareTest.php b/tests/lib/AppFramework/Middleware/AdditionalScriptsMiddlewareTest.php index 773e900545f..617ead473c0 100644 --- a/tests/lib/AppFramework/Middleware/AdditionalScriptsMiddlewareTest.php +++ b/tests/lib/AppFramework/Middleware/AdditionalScriptsMiddlewareTest.php @@ -82,7 +82,7 @@ class AdditionalScriptsMiddlewareTest extends \Test\TestCase { public function testStandaloneTemplateResponse() { $this->dispatcher->expects($this->once()) ->method('dispatch') - ->willReturnCallback(function($eventName) { + ->willReturnCallback(function ($eventName) { if ($eventName === TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS) { return; } @@ -98,7 +98,7 @@ class AdditionalScriptsMiddlewareTest extends \Test\TestCase { public function testTemplateResponseNotLoggedIn() { $this->dispatcher->expects($this->once()) ->method('dispatch') - ->willReturnCallback(function($eventName) { + ->willReturnCallback(function ($eventName) { if ($eventName === TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS) { return; } @@ -116,7 +116,7 @@ class AdditionalScriptsMiddlewareTest extends \Test\TestCase { $this->dispatcher->expects($this->exactly(2)) ->method('dispatch') - ->willReturnCallback(function($eventName) use (&$events) { + ->willReturnCallback(function ($eventName) use (&$events) { if ($eventName === TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS || $eventName === TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS_LOGGEDIN) { $events[] = $eventName; |