Deprecated return type for function offsetGet
sebasparola opened this issue · 2 comments
sebasparola commented
sebasparola commented
Two possible solutions that I have tested and worked fine for this were:
- add the return type mixed for the function in the Entity class:
public function offsetGet( $offset ) : mixed {
or
- add the overrride #[\ReturnTypeWillChange] annotation to the offsetGet function
mrudov commented
Fixed in v4
branch. Please refer README.md for details.