Skip to content

Commit

Permalink
TASK: Fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Feb 3, 2024
1 parent c96fd84 commit e540eb3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Neos.Flow/Classes/Mvc/Controller/AbstractController.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,11 @@ protected function forward(string $actionName, string $controllerName = null, st
* Request is directly transfered to the other action / controller
*
* @param ActionRequest $request The request to redirect to
* @return void
* @throws ForwardException
* @see redirectToRequest()
* @api
*/
protected function forwardToRequest(ActionRequest $request)
protected function forwardToRequest(ActionRequest $request): never
{
$nextRequest = clone $request;
throw ForwardException::createForNextRequest($nextRequest, '');
Expand Down

0 comments on commit e540eb3

Please sign in to comment.