Open szepeviktor opened 10 months ago
Which use-cases do you want to cover? You could also try filterFirstExtractAttribute
to see if it works for your needs.
Which use-cases do you want to cover?
To make static analysis possible. Because the return types are different.
I know, I know. Popular software come with the liberty of using one method for several purposes. But I am not intended to be popular!
Okay, feel free to propose a PR :) Maybe after we got the PHPStan branch merged?
I do not have plans to contribute more.
Okay
It would be nice to have a
UsesXPathFilters::filterExtractAttribute
besidefilterExtractAttributes
. One would returnarray<string>
, the otherarray<array<string>>
.