Skip to content

Commit d3eb8e0

Browse files
committed
Add the return type in the TestClient in the testsuite
This avoids a deprecation warning (and makes that class ready for Symfony 6)
1 parent 92cb44b commit d3eb8e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Custom/ErrorHandlingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public function setNextScript($script)
175175
$this->nextScript = $script;
176176
}
177177

178-
protected function doRequest($request)
178+
protected function doRequest($request): object
179179
{
180180
if (null === $this->nextResponse) {
181181
return new Response();

0 commit comments

Comments
 (0)