diff --git a/src/Application.php b/src/Application.php index 47a7cb6..17c86dc 100644 --- a/src/Application.php +++ b/src/Application.php @@ -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.';