Add return types
This commit is contained in:
parent
f2785bca03
commit
05311ac7b6
21 changed files with 84 additions and 78 deletions
|
@ -69,7 +69,7 @@ abstract class ControllerTest extends ContainerTest
|
|||
*
|
||||
* @return Response HTTP response
|
||||
*/
|
||||
protected function getRequestResult(string $request, array $params)
|
||||
protected function getRequestResult(string $request, array $params): Response
|
||||
{
|
||||
return $this->controller->$request(
|
||||
$this->container->get('request')->withQueryParams($params),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue