If I use my own TranslatableInterface instead of the one provided by the bundle, phpstan throw an error.
Here an example
use Acme\Contract\TranslatableInterface;
class Product implements TranslatableInterface
{
}
use Knp\DoctrineBehaviors\Contract\Entity\TranslatableInterface as KnpTranslatableInterface;
interface TranslatableInterface extends KnpTranslatableInterface
{
}
If I use my own TranslatableInterface instead of the one provided by the bundle, phpstan throw an error.
Here an example
Thx !