Open erindornbusch opened 2 years ago
This PR updates the return types of ArrayAccess and JsonSerializable interface methods in order to suppress deprecation notices when using the package with PHP 8.1.
ArrayAccess
JsonSerializable
Could use the #[\ReturnTypeWillChange] attribute throughout if that's preferable?
#[\ReturnTypeWillChange]
This PR updates the return types of
ArrayAccess
andJsonSerializable
interface methods in order to suppress deprecation notices when using the package with PHP 8.1.Could use the
#[\ReturnTypeWillChange]
attribute throughout if that's preferable?