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
Smile\StoreLocator\Model\Data\RetailerTimeSlot use Zend\Stdlib\JsonSerializable without composer dependency
Preconditions
Magento Version : 2.4.4 ee (php 8.1)
Module Store Locator Version : 2.0.8
Environment : All
Steps to reproduce
composer install without Zend\Stdlib\JsonSerializable
bin/magento setup:di:compile
Expected result
composer.json must be required "laminas/laminas-stdlib": "^3.17" OR delete methode / interface not used.
Actual result
MiBPHP Fatal error: During inheritance of JsonSerializable: Uncaught Exception: Deprecated Functionality: Return type of Smile\StoreLocator\Model\Data\RetailerTimeSlot::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /src/vendor/smile/module-store-locator/Model/Data/RetailerTimeSlot.php on line 72 in /src/vendor/magento/framework/App/ErrorHandler.php:61
The text was updated successfully, but these errors were encountered:
Smile\StoreLocator\Model\Data\RetailerTimeSlot use Zend\Stdlib\JsonSerializable without composer dependency
Preconditions
Magento Version : 2.4.4 ee (php 8.1)
Module Store Locator Version : 2.0.8
Environment : All
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: