with the added types, PHPStan, psalm and other static analysis tools can assist the user of the library better.
meaning even if the phpdoc is prefixed with @phpstan it will work for the other ones.
the tooling will realize when the call to the changed functions will never return or when a string is returned.
with the added types, PHPStan, psalm and other static analysis tools can assist the user of the library better. meaning even if the phpdoc is prefixed with
@phpstan
it will work for the other ones.the tooling will realize when the call to the changed functions will never return or when a string is returned.