Skip to content

Conversation

@jiripudil
Copy link
Contributor

This PR adds support for @psalm-type and @psalm-import-type as well as @phpstan- prefixed alternatives:

/**  * @phpstan-type TypeAlias callable(string): bool  */ class Foo {} /**  * @phpstan-import-type TypeAlias from Foo as ImportedAlias  */ class Bar {}
@ondrejmirtes
Copy link
Member

This is perfect! Thank you.

@ondrejmirtes ondrejmirtes merged commit 2e17e4a into phpstan:master Feb 28, 2021
@jiripudil jiripudil deleted the local-type-aliases branch March 3, 2021 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants