Skip to content

Return type of Cristal\ApiWrapper\Model::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool #57

@Stubbs

Description

@Stubbs

Error with PHP 8.1

[2025-02-28 21:33:16] dev.WARNING: Return type of Cristal\ApiWrapper\Model::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/stuart/Projects/brfcs/v2/ewood/vendor/cristal/php-api-wrapper/src/Model.php on line 333

Looks related to https://stackoverflow.com/questions/71133749/reference-return-type-of-should-either-be-compatible-with-or-the-re

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