Skip to content
Discussion options

You must be logged in to vote

As far as I know, it's not possible to use global constants in this manner, only class constants. You could add a class constant for each of the global constants and then type those: https://phpstan.org/r/afa1ccb9-559c-4dde-8de1-c08fd27c78c7

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gnutix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants