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

Solve deprecated passing null to a string in PHP 8.1 #151

Closed
wants to merge 1 commit into from

Conversation

banakito
Copy link

Solve deprecated passing null to a string in list_wlanconf()
trim() function doesn't allow an input parameter not being a string.

Solve deprecated passing null to a string in list_wlanconf()
trim() function doesn't allow an input parameter not being a string.
@malle-pietje
Copy link
Collaborator

Thanks tor the PR, looks fine. Will merge it in with the next release.

malle-pietje added a commit that referenced this pull request Mar 28, 2022
- updated README to reflect support for 7.X
- `get_last_error_message()` now always returns a string which is empty if no message is available
- applied PR #151 in slightly different way for consistency with other similar code sections, contributed by @banakito
- changed default argument values in several methods/functions from null to an empty string
@malle-pietje
Copy link
Collaborator

covered in a slightly different manner with 1.1.79:
https://github.com/Art-of-WiFi/UniFi-API-client/releases/tag/v1.1.79

Please confirm whether this works for you.

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