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

Fixed update func nested unclear ternary operators #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zachbornheimer
Copy link

PHP7.4 deprecated nested ternary operators without parens.
When getting the example code working, the update function's
usage of them became problematic. This resolves that.

PHP7.4 deprecated nested ternary operators without parens.
When getting the example code working, the `update` function's
usage of them became problematic.  This resolves that.
@zachbornheimer
Copy link
Author

This fixes an issue in PHP8 (which I noticed in doing some Laravel work).

@npbreland
Copy link

I've run into the same issue on PHP8.1. I think this will need to be merged to make the SDK compatible with PHP8.

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