Closed IanDelMar closed 3 months ago
The docs say it needs a parameter name https://phpstan.org/writing-php-code/phpdocs-basics#setting-parameter-type-passed-by-reference
Of course.
I think it's worth using the phpstan-
prefix on these tag names so it's clear what they are for. Especially as this is a new phpstan feature.
Oh not that new actually. But still.
Currently, no tests have been added as PHPStan requires bleeding edge to be enabled in order not to discard the type provided via
@param-out
.Assertions might look like