Open antoineangot opened 5 years ago
Hello,
This error appear when I name my boolean getter "isPrefered()" It works with "getIsPrefered()" which generate a warning with phpmd
[2019-04-24 15:54:27] php.CRITICAL: Call to undefined method App\Entity\Product::getIsPrefered() {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to undefined method App\\Entity\\Product::getIsPrefered() at .../vendor/wizards/rest-api/src/WizardsRest/ObjectReader/DoctrineAnnotationReader.php:115)"} []
you can try to use the getter property of @embedabble
Hello,
This error appear when I name my boolean getter "isPrefered()" It works with "getIsPrefered()" which generate a warning with phpmd
[2019-04-24 15:54:27] php.CRITICAL: Call to undefined method App\Entity\Product::getIsPrefered() {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to undefined method App\\Entity\\Product::getIsPrefered() at .../vendor/wizards/rest-api/src/WizardsRest/ObjectReader/DoctrineAnnotationReader.php:115)"} []