PHP 8.1 needs #[\ReturnTypeWillChange] on classes that implement \ArrayAccess, \Countable, or \IteratorAggregate
As this is a comment in pre 8.1 versions, it is completely backward compatible. In PHP 8.1, it prevents a depreciation notice.
It would be nice to merge quickly, as I use the dev-master version (V9 is too messed up to be usable due to bad autoloading that we fixed a while back).
PHP 8.1 needs #[\ReturnTypeWillChange] on classes that implement \ArrayAccess, \Countable, or \IteratorAggregate
As this is a comment in pre 8.1 versions, it is completely backward compatible. In PHP 8.1, it prevents a depreciation notice.
It would be nice to merge quickly, as I use the dev-master version (V9 is too messed up to be usable due to bad autoloading that we fixed a while back).
Thanks!