Closed Petah closed 5 years ago
It can be either static
, self
, or ImmArray
. Each will have the same effect on IDEs like PhpStorm and static analysis tools like PHPStan.
Well not if you extend the ImmArray class though.
You're right. You can submit a PR to fix this 🙂
Fixed in #15
Hi,
In these lines
https://github.com/jkoudys/immutable.php/blob/master/src/Collection/ImmArray.php#L84
Shouldn't it be: