tests: fixed array() return

main
Igor Scheller 6 years ago
parent b52444af8a
commit ce6d0fd13b

@ -136,6 +136,6 @@ class CallableHandlerTest extends TestCase
$callable = $this->getMockBuilder(stdClass::class) $callable = $this->getMockBuilder(stdClass::class)
->setMethods(['__invoke']) ->setMethods(['__invoke'])
->getMock(); ->getMock();
return array($request, $response, $callable, $handler); return [$request, $response, $callable, $handler];
} }
} }

@ -143,6 +143,6 @@ class RouteDispatcherTest extends TestCase
->method('getPath') ->method('getPath')
->willReturn('/foo%21bar'); ->willReturn('/foo%21bar');
return array($dispatcher, $response, $request, $handler); return [$dispatcher, $response, $request, $handler];
} }
} }

Loading…
Cancel
Save