Skip to content

Commit ea8f8a5

Browse files
committed
Remove onEmptyResponse() method from middleware stub
1 parent b0687d2 commit ea8f8a5

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

stubs/middleware.stub

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,4 @@ class {{ class }} extends Middleware
4040
//
4141
]);
4242
}
43-
44-
/**
45-
* Determines what to do when an Inertia action returned with no response.
46-
* By default, we'll redirect the user back to where they came from.
47-
*
48-
* @param Request $request
49-
* @param Response $response
50-
* @return Response
51-
*/
52-
public function onEmptyResponse(Request $request, Response $response): Response
53-
{
54-
return parent::onEmptyResponse($request, $response);
55-
}
5643
}

0 commit comments

Comments
 (0)