tests: fixed array() return
This commit is contained in:
parent
b52444af8a
commit
ce6d0fd13b
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -143,6 +143,6 @@ class RouteDispatcherTest extends TestCase
|
|||
->method('getPath')
|
||||
->willReturn('/foo%21bar');
|
||||
|
||||
return array($dispatcher, $response, $request, $handler);
|
||||
return [$dispatcher, $response, $request, $handler];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue