summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-09-04 21:44:34 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2018-09-04 21:44:34 +0200
commitce6d0fd13b54ac79a955b85d50860736a520d333 (patch)
treece18461d2e170ac28dd365342a1f125a8a31aa3a /tests
parentb52444af8a289e089d1239657cdf6ff06b21b29d (diff)
tests: fixed array() return
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Middleware/CallableHandlerTest.php2
-rw-r--r--tests/Unit/Middleware/RouteDispatcherTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/Unit/Middleware/CallableHandlerTest.php b/tests/Unit/Middleware/CallableHandlerTest.php
index 6e6dab58..29424480 100644
--- a/tests/Unit/Middleware/CallableHandlerTest.php
+++ b/tests/Unit/Middleware/CallableHandlerTest.php
@@ -136,6 +136,6 @@ class CallableHandlerTest extends TestCase
$callable = $this->getMockBuilder(stdClass::class)
->setMethods(['__invoke'])
->getMock();
- return array($request, $response, $callable, $handler);
+ return [$request, $response, $callable, $handler];
}
}
diff --git a/tests/Unit/Middleware/RouteDispatcherTest.php b/tests/Unit/Middleware/RouteDispatcherTest.php
index edb2f158..1e920f06 100644
--- a/tests/Unit/Middleware/RouteDispatcherTest.php
+++ b/tests/Unit/Middleware/RouteDispatcherTest.php
@@ -143,6 +143,6 @@ class RouteDispatcherTest extends TestCase
->method('getPath')
->willReturn('/foo%21bar');
- return array($dispatcher, $response, $request, $handler);
+ return [$dispatcher, $response, $request, $handler];
}
}