Repository navigation
php 8.1 JsonSerializable::jsonSerialize() return type deprecation warning #2
Replies: 6 comments 9 replies
|
Thanks for the report! I moved the discussion to the appropriate repo. |
|
I have released an update that should fix the warning. It should be gone after a |
|
hmm weird... i just saw that the issue is related to php-settings-container however the package i'm using is php-qrcode |
|
ahhh, makes sence :) confirm the upgrade however (changed line to 157)
|
|
I still do get the warning (deprecated) - and I just installed the newest version from composer.
SettingsContainerAbstract.php:168 |
|
I have this error:
How I can fixed this? |
Uh oh!
There was an error while loading. Please reload this page.
for future integration with php8.1
PHP Deprecated: Return type of chillerlan\Settings\SettingsContainerAbstract::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/app/vendor/chillerlan/php-settings-container/src/SettingsContainerAbstract.php on line 168however qrcode is showing and working :)
All reactions