You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4.17.0 introduced $type property in PHPParser\Node\Stmt\ClassConst. However, docblock types for the constructor parameter and the property itself are not compatible. Constructor accepts null|string|...:
4.17.0 introduced
$type
property inPHPParser\Node\Stmt\ClassConst
. However, docblock types for the constructor parameter and the property itself are not compatible. Constructor acceptsnull|string|...
:PHP-Parser/lib/PhpParser/Node/Stmt/ClassConst.php
Line 25 in 844c228
then assigns it directly to the property. But the property does not accept neither
null
norstring
:PHP-Parser/lib/PhpParser/Node/Stmt/ClassConst.php
Line 15 in 844c228
The text was updated successfully, but these errors were encountered: