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 Deprecated: Return type of Scayle\StorefrontApi\Models\ApiObject::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice ...
In other Projects like ramsy/uuid it was fixed by adding the attribute #[\ReturnTypeWillChange] right before the method. Older php versions (<= php 7.4) ignore the attribute.
I got a deprecation notice with php 8.2.
PHP Deprecated: Return type of Scayle\StorefrontApi\Models\ApiObject::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice ...
In other Projects like ramsy/uuid it was fixed by adding the attribute #[\ReturnTypeWillChange] right before the method. Older php versions (<= php 7.4) ignore the attribute.
Here it was fixed within the Admin-API: scayle/admin-api-php-sdk@v1.13.0...v1.13.1 (see scayle/admin-api-php-sdk#1)
The text was updated successfully, but these errors were encountered: