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

Php Deprecated Error - jsonSerialize() #14

Closed
ilearnbydoing opened this issue Jan 16, 2023 · 2 comments · Fixed by craftsys/msg91-php#11
Closed

Php Deprecated Error - jsonSerialize() #14

ilearnbydoing opened this issue Jan 16, 2023 · 2 comments · Fixed by craftsys/msg91-php#11
Labels

Comments

@ilearnbydoing
Copy link

Php 8.1
Laravel .80
In Laravel Tinker test
getting this error

>>> echo Msg91::otp()::class PHP Deprecated: Return type of Craftsys\Msg91\Options::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /MYAPP_PATH/vendor/craftsys/msg91-php/src/Options.php on line 215 Craftsys\Msg91\OTP\OTPService⏎

@ilearnbydoing ilearnbydoing changed the title Php Deprecated JsonSeriel Php Deprecated Error - jsonSerialize() Jan 16, 2023
@sudkumar
Copy link
Contributor

Thanks for reporting. Will test and fix it.

@sudkumar sudkumar reopened this Jan 17, 2023
github-actions bot pushed a commit that referenced this issue Jan 17, 2023
## [0.13.3](v0.13.2...v0.13.3) (2023-01-17)

### Bug Fixes

* **php-dep:** use the latest php client ([49c4f93](49c4f93)), closes [#14](#14)
@github-actions
Copy link

🎉 This issue has been resolved in version 0.13.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants