You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seem to not work with Inertia. All classes are type hinted to return Illuminate\Http\Response. The problem is that Inertia mostly returns JsonResponse instead which does not extendIlluminate\Http\Response, but instead Symfony\Component\HttpFoundation\Response.
I assume type hinting Symfony\Component\HttpFoundation\Response instead would fix all errors. Let me know if you want me to do a PR for this :)
The text was updated successfully, but these errors were encountered:
It seem to not work with Inertia. All classes are type hinted to return
Illuminate\Http\Response
. The problem is that Inertia mostly returnsJsonResponse
instead which does not extendIlluminate\Http\Response
, but insteadSymfony\Component\HttpFoundation\Response
.I assume type hinting
Symfony\Component\HttpFoundation\Response
instead would fix all errors. Let me know if you want me to do a PR for this :)The text was updated successfully, but these errors were encountered: