Localization icon indicating copy to clipboard operation
Localization copied to clipboard

JsonSerializable::jsonSerialize() issues on php 8.1

Open vladpadurariu opened this issue 1 year ago • 0 comments

  • 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

vladpadurariu avatar Apr 11 '23 08:04 vladpadurariu