-
-
Notifications
You must be signed in to change notification settings - Fork 112
Closed
Description
Version: v2.8.2
Bug Description
Array shapes (https://phpstan.org/writing-php-code/phpdoc-types#array-shapes) are not working as expected in the varType macro
Steps To Reproduce
{varType array{0: int, 1: int} $data}
yields error Unexpected content, expecting {varType type $var} in ...
Expected Behavior
I was hoping that this would be supported and that later on, PHPStan would be able to analyze it (not sure whether mesour's plugin will support it as well)
Metadata
Metadata
Assignees
Labels
No labels