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]; } }