-
-
Notifications
You must be signed in to change notification settings - Fork 931
Closed
@VincentLanglet
Description
Bug report
In the following code
@param array < int > | array & iterable $a
@param int | ( MockObject & ArrayCollection<int, int> ) [ ] $b
@param array { key : int } $c
The space in the phpdoc are correctly ignored for the $a
and $b
params, but not for the $c
one ; We get
PHPDoc tag @param has invalid value (array { key : int } $a): Unexpected token "{", expected variable
FI @param array{ key : int } $c
is working. The issue is only with the space before the {
.
Metadata
Metadata
Assignees
Labels
No labels