-
Notifications
You must be signed in to change notification settings - Fork 1
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
[BUG] Faulty cast to boolean #2
Comments
thanks for reporting @estebanthebad will fix asap in the next release but im quite busy with other stuff atm - feel free to open a pull request on your own though :) |
Fixed with latest release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey again!
https://github.com/sms77io/php-client/blob/ec0339d72bcdfa930b80ab1c8cd2e2838b944d46/src/Response/Sms.php#L19
(bool)"false"
does not evaluate to the boolean valueFALSE
but to the boolean valueTRUE
.https://www.php.net/manual/en/language.types.boolean.php
;)
Cheers!
The text was updated successfully, but these errors were encountered: