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)
->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…
Cancel
Save