aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Http/DispatcherTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/AppFramework/Http/DispatcherTest.php')
-rw-r--r--tests/lib/AppFramework/Http/DispatcherTest.php10
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())