Skip to content

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Apr 23, 2024

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.

@staabm staabm changed the title Declare conditional return type Declare conditional return types Apr 23, 2024
@staabm staabm marked this pull request as ready for review April 23, 2024 07:30
@pitbulk pitbulk merged commit b58c5ee into SAML-Toolkits:master Apr 26, 2024
@staabm staabm deleted the patch-1 branch April 26, 2024 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants