John Cornell
John Cornell
I'm still running into this FYI.
For now I add to all enums: ```php /** @noinspection EmptyClassInspection https://github.com/kalessil/phpinspectionsea/issues/1831 */ ```
If you're using Doctrine attributes on your entities this gives you the repo class based on the entity: ```php $reflection = new ReflectionClass($entityClass); $attribute = $reflection->getAttributes(Entity::class); $repositoryClass = $attribute[0]->getArguments()['repositoryClass']; ```...