Skip to content

Commit

Permalink
Add mixed return type
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Dec 9, 2020
1 parent 4b8209e commit 9bf1435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ private function route(Request $request) : RouteMatch
*
* @return UnexpectedValueException
*/
private function invalidControllerReturnValue($value) : \UnexpectedValueException
private function invalidControllerReturnValue(mixed $value) : \UnexpectedValueException
{
$message = 'Got a non-Response return value of type %s from controller, ';
$message .= 'and no registered plugin could create a Response out of the result.';
Expand Down

0 comments on commit 9bf1435

Please sign in to comment.