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
Everything should be ok as the method works with a func.
The text was updated successfully, but these errors were encountered:
soullivaneuh
changed the title
[PHPDoc] Parameter #4 of method Doctrine\ORM\QueryBuilder::innerJoin() expects st ring|null, Doctrine\ORM\Query\Expr\Func given.
[PHPDoc] Parameter #4 of method QueryBuilder::innerJoin() expects st ring|null, Func given.
May 19, 2020
soullivaneuh
changed the title
[PHPDoc] Parameter #4 of method QueryBuilder::innerJoin() expects st ring|null, Func given.
[PHPDoc] Parameter #4 of method QueryBuilder::innerJoin() expects string|null, Func given.
May 19, 2020
Bug Report
Summary
The
QueryBuilder::innerJoin
does not expectDoctrine\ORM\Query\Expr\Func
#4 parameter type according to the PHPDoc.This typing should be added for a stronger typing and to make tools like PHPStan happier.
Current behavior
PHPStan error:
How to reproduce
Related code producing the error (currently working properly):
Expected behavior
Everything should be ok as the method works with a func.
The text was updated successfully, but these errors were encountered: