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

FIX: php 8.1 explode deprecation #311

Merged
merged 2 commits into from
Oct 27, 2021
Merged

Conversation

nicoorfi
Copy link
Contributor

Hi, this fixes a PHP 8.1 deprecation where null isn't allowed as 2nd parameter in the explode finction.

ErrorException
explode(): Passing null to parameter #2 ($string) of type string is deprecated

@claudiodekker
Copy link
Member

Strange, as HTTP-spec wise a Header is always a string. Anyway, thanks!

@claudiodekker claudiodekker merged commit 406b15a into inertiajs:master Oct 27, 2021
@nicoorfi nicoorfi deleted the php8.1 branch October 27, 2021 16:28
@nicoorfi nicoorfi restored the php8.1 branch October 27, 2021 16:28
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.

2 participants