Localization
Localization copied to clipboard
JsonSerializable::jsonSerialize() issues on php 8.1
- Localization Version: 9.0
- Laravel Version: ˆ9.43
- PHP Version: ˆ8.1
Description:
Getting this with any artisan command:
Return type of Arcanedev\Localization\Entities\Locale::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /app/vendor/arcanedev/localization/src/Entities/Locale.php on line 337