Replies: 2 comments
|
That's a question that should be asked to Jetbrains, not to us. |
0 replies
|
This problem was solved in 3.x |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am using PHPStorm for my projects, and recently I come to an issue with
PHPStorm complains that
ServiceEntityRepositoryhas multiple definitions.This is true, as the stubs in this bundle contain an if check and define the class on 2 lines:
https://github.com/doctrine/DoctrineBundle/blob/2.8.x/Repository/ServiceEntityRepository.php#L18
and
https://github.com/doctrine/DoctrineBundle/blob/2.8.x/Repository/ServiceEntityRepository.php#L39
based on whether trait
LazyGhostTraitexists. So how can I "explain" to PHPStorm to use just one definition?All reactions