diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-10-05 15:12:57 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-10-05 20:25:24 +0200 |
commit | d9015a8c94bfd71fe484618a06d276701d3bf9ff (patch) | |
tree | 3f7a1cd6ec2fd982dd02de71b76076f7f01cef70 /tests/lib/AppFramework/Http/DispatcherTest.php | |
parent | d357f4b10fe1b59e1e07bb90641d647522c7bfe2 (diff) | |
download | nextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.tar.gz nextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.zip |
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/lib/AppFramework/Http/DispatcherTest.php')
-rw-r--r-- | tests/lib/AppFramework/Http/DispatcherTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lib/AppFramework/Http/DispatcherTest.php b/tests/lib/AppFramework/Http/DispatcherTest.php index e308e5f2b3b..966e49effcb 100644 --- a/tests/lib/AppFramework/Http/DispatcherTest.php +++ b/tests/lib/AppFramework/Http/DispatcherTest.php @@ -53,7 +53,7 @@ class TestController extends Controller { * @param int $test2 * @return array */ - public function exec($int, $bool, $test=4, $test2=1) { + public function exec($int, $bool, $test = 4, $test2 = 1) { $this->registerResponder('text', function ($in) { return new JSONResponse(['text' => $in]); }); @@ -68,7 +68,7 @@ class TestController extends Controller { * @param int $test2 * @return DataResponse */ - public function execDataResponse($int, $bool, $test=4, $test2=1) { + public function execDataResponse($int, $bool, $test = 4, $test2 = 1) { return new DataResponse([ 'text' => [$int, $bool, $test, $test2] ]); @@ -157,9 +157,9 @@ class DispatcherTest extends \Test\TestCase { * @param string $out * @param string $httpHeaders */ - private function setMiddlewareExpectations($out=null, - $httpHeaders=null, $responseHeaders=[], - $ex=false, $catchEx=true) { + private function setMiddlewareExpectations($out = null, + $httpHeaders = null, $responseHeaders = [], + $ex = false, $catchEx = true) { if ($ex) { $exception = new \Exception(); $this->middlewareDispatcher->expects($this->once()) |