In the last several years, static analysis tools such as Psalm and PhpStan have become relatively popular to use for PHP development.
In general, these tools are able to parse and use generics in docblocks to provide additional type hints during analysis.
Having these generic types hinted in code, especially in libraries such as this, make life in PHP much nicer.
In the last several years, static analysis tools such as Psalm and PhpStan have become relatively popular to use for PHP development.
In general, these tools are able to parse and use generics in docblocks to provide additional type hints during analysis. Having these generic types hinted in code, especially in libraries such as this, make life in PHP much nicer.
Would you consider adding these in?