diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-09-04 21:44:34 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2018-09-04 21:44:34 +0200 |
commit | ce6d0fd13b54ac79a955b85d50860736a520d333 (patch) | |
tree | ce18461d2e170ac28dd365342a1f125a8a31aa3a /tests | |
parent | b52444af8a289e089d1239657cdf6ff06b21b29d (diff) |
tests: fixed array() return
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Unit/Middleware/CallableHandlerTest.php | 2 | ||||
-rw-r--r-- | tests/Unit/Middleware/RouteDispatcherTest.php | 2 |
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]; } } |