The Data class implements ArrayAccess but lacks explicit parameter types in its method signatures.
File: src/Contracts/Data.php
Action:
Update the following method signatures to include mixed types:
offsetSet($offset, $value): void -> offsetSet(mixed $offset, mixed $value): void
offsetExists($offset): bool -> offsetExists(mixed $offset): bool
offsetUnset($offset): void -> offsetUnset(mixed $offset): void
offsetGet($offset): mixed -> offsetGet(mixed $offset): mixed
The Data class implements
ArrayAccessbut lacks explicit parameter types in its method signatures.File:
src/Contracts/Data.phpAction:
Update the following method signatures to include
mixedtypes:offsetSet($offset, $value): void->offsetSet(mixed $offset, mixed $value): voidoffsetExists($offset): bool->offsetExists(mixed $offset): booloffsetUnset($offset): void->offsetUnset(mixed $offset): voidoffsetGet($offset): mixed->offsetGet(mixed $offset): mixed