We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When doing something like
$user->setContext($this->getReference(ContextFixtures::FR));
currently phpstan is reporting an error before getReference is typehinted as an object, and not a Context class.
Also, if I have a country FR and a context FR, I cannot use the same name/reference for both of those entities.
Both of this issues could be solved if we were using the method this way
$this->getReference(ContextFixtures::FR, Context::class)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
When doing something like
currently phpstan is reporting an error before getReference is typehinted as an object, and not a Context class.
Also, if I have a country FR and a context FR, I cannot use the same name/reference for both of those entities.
Both of this issues could be solved if we were using the method this way
The text was updated successfully, but these errors were encountered: