-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return of mixed in $this->createQueryBuilder()->getQuery()->getResult()
when alias is ev
or event
#608
Comments
Replicated: #609 |
I was just using Xdebug to find the issue: It's throwing here: phpstan-doctrine/src/Type/Doctrine/ArgumentsProcessor.php Lines 61 to 66 in be66017
|
It seems that I have a class called |
@ondrejmirtes added this condition here. I think we should be more careful where we do this check. Imo only in |
Yeah, it should throw only in arguments that expect class-string. Which is reasonable to assume in Doctrine that it must not be transient. |
I believe it would be the same issue as #566 |
I have no idea what this is, or what causes it.
I also tried this on a different entity repository, for an entity named differently: Type. There, it gives the same problem.
So what is the cause for
ev
andevent
to behave weird?The text was updated successfully, but these errors were encountered: