We may eventually need to avoid implementing Countable/Iterator in this class as it's not necessary and ReturnTypeWillChange may be removed at some point in the future. As that's technically a BC break (though one that is unlikely to affect anyone as this class is unlikely to be used externally) I've opted not to do that yet
Goal
This suppresses a deprecation in PHP 8.1 which causes CI to fail, added by the "add return type declarations for internal methods" RFC
We may eventually need to avoid implementing
Countable
/Iterator
in this class as it's not necessary andReturnTypeWillChange
may be removed at some point in the future. As that's technically a BC break (though one that is unlikely to affect anyone as this class is unlikely to be used externally) I've opted not to do that yet