From d9015a8c94bfd71fe484618a06d276701d3bf9ff Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 5 Oct 2020 15:12:57 +0200 Subject: Format code to a single space around binary operators Signed-off-by: Christoph Wurst --- tests/lib/AppFramework/Http/DispatcherTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/lib/AppFramework/Http/DispatcherTest.php') 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()) -- cgit v1.2.3