Skip to content

Deprecated warnings in .../assets/lib/Helpers/Collection.php showed on tracy #2323

@ericfilippi

Description

@ericfilippi

evo : 3.5.4
PHP : 8.4.16

Hello,

I get these errors in tracy :
1× | Deprecated: Return type of Helpers\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../assets/lib/Helpers/Collection.php:152
1× | Deprecated: Return type of Helpers\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../assets/lib/Helpers/Collection.php:36
1× | Deprecated: Return type of Helpers\Collection::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 .../assets/lib/Helpers/Collection.php:262
1× | Deprecated: Return type of Helpers\Collection::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../assets/lib/Helpers/Collection.php:271
1× | Deprecated: Return type of Helpers\Collection::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../assets/lib/Helpers/Collection.php:281
1× | Deprecated: Return type of Helpers\Collection::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../assets/lib/Helpers/Collection.php:296

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