Skip to content

JsonSerializable::jsonSerialize() issues on php 8.1 #172

@vladpadurariu

Description

@vladpadurariu
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions