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
Attempting to use a repository function within a Doctrine Lifecycle Callback, PhpStorm cannot find repository functions when getting the repository for self::class (or __CLASS__).
It does work when using ClassName::class, but that is less than ideal from within the same class.
Here is a screenshot to illustrate:
I could see not supporting static::class as it is resolved at runtime, but it would be nice if self::class was supported.
The text was updated successfully, but these errors were encountered:
Attempting to use a repository function within a Doctrine Lifecycle Callback, PhpStorm cannot find repository functions when getting the repository for
self::class
(or__CLASS__
).It does work when using
ClassName::class
, but that is less than ideal from within the same class.Here is a screenshot to illustrate:
I could see not supporting
static::class
as it is resolved at runtime, but it would be nice ifself::class
was supported.The text was updated successfully, but these errors were encountered: