Skip to content

Some query args can be nullable - fixes #8 #10

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

Closed
wants to merge 1 commit into from
Closed

Some query args can be nullable - fixes #8 #10

wants to merge 1 commit into from

Conversation

yondifon
Copy link

- Set the argument to be optional fixes #8
@JoshuaJarman
Copy link
Contributor

JoshuaJarman commented May 23, 2021

replacing the file with this version breaks my wordpress install (php 7.4), but simply removing the type definition array from line #90 of the original file fixes the issue without breaking things. 👍

wordpress officially supports php 7.4 and later, union types are new to php 8.0
https://wiki.php.net/rfc/union_types_v2

i created a separate pull request with the type removed and verified it works on all supported php versions.

thanks for the lead in the right direction. Cheers.

@esamattis
Copy link
Member

Should be fixed by #12

@esamattis esamattis closed this Dec 28, 2021
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