You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP 8.2 compatible error: Return type of Rollbar\Payload\Notifier::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed
#11
Open
djgoswami opened this issue
Dec 26, 2023
· 5 comments
This works fine for PHP 8.2 but only return one below error.
Return type of Rollbar\Payload\Notifier::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
The text was updated successfully, but these errors were encountered:
@baibaratsky Shall I create a new branch from master for this bug and then commit changes of vendor/rollbar/rollbar/src/Payload/Notifier.php file? Please guide me.
This works fine for PHP 8.2 but only return one below error.
Return type of Rollbar\Payload\Notifier::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
The text was updated successfully, but these errors were encountered: