Hello. I am seeing "Unknown method" $ef->getType()
warning, but however, that method is browserable by clicking in it and can see the method tip as you can see in the image.
![](https://community.devsense.com/assets/files/2024-05-07/1715098011-914688-image.png)
And as shown below, this is the target entity ExtraField
which has the method getType()
in the entities appearing in the @ORM\DiscriminatorMap
.
![](https://community.devsense.com/assets/files/2024-05-07/1715098036-21385-image.png)
So, why by clicking in the method, it is certainly browserable, but it still is throwing the warning?
Thanks.