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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using PHPStorm for my projects, and recently I come to an issue with
PHPStorm complains that
ServiceEntityRepository
has 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
LazyGhostTrait
exists. So how can I "explain" to PHPStorm to use just one definition?Beta Was this translation helpful? Give feedback.
All reactions