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
I can provide a pull request to fix this if you agree that it is an issue (not sure if the argument is unused on purpose here ..)
The text was updated successfully, but these errors were encountered:
cyqui
changed the title
PHPDoc nullable property for "array type" not accounted
[PropertyInfo] PHPDoc nullable property for "array type" not accounted
Mar 28, 2017
Description:
I am using the PropertyInfo component to read phpdoc comments.
Somewhere we got :
and in our code $type->isNullable() returns "false".
$type is a Symfony\Component\PropertyInfo\Type instance.
Fix:
https://github.com/symfony/symfony/blob/3.2/src/Symfony/Component/PropertyInfo/Util/PhpDocTypeHelper.php#L107
The "nullable" argument should be used here i believe ?
I can provide a pull request to fix this if you agree that it is an issue (not sure if the argument is unused on purpose here ..)
The text was updated successfully, but these errors were encountered: