Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.x] Add $request->inertia() IDE helper #625

Merged
merged 2 commits into from
May 16, 2024
Merged

[1.x] Add $request->inertia() IDE helper #625

merged 2 commits into from
May 16, 2024

Conversation

ycs77
Copy link
Contributor

@ycs77 ycs77 commented May 15, 2024

Re-open #496


Add $request->inertia() IDE helper.

And this PR re-export the _ide_helpers.php file, if no export the developer can't look the IDE helpers when developing.

@ycs77 ycs77 changed the title Add $request->inertia() IDE helper [1.x] Add $request->inertia() IDE helper May 15, 2024
@taylorotwell taylorotwell merged commit 576fba4 into inertiajs:1.x May 16, 2024
26 checks passed
@ycs77 ycs77 deleted the ide-helper-request branch May 16, 2024 04:25
@BeingTomGreen
Copy link

This update has caused an issue in both PHPStorm and VSCode, because there are now multiple definitions the of the Illuminate\Http\Request class.

I don't use IDE helper.

Weirdly I don't seem to get this for TestResponse, although I'm not really sure why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants