Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boolean type does not seems handled well #18

Open
antoineangot opened this issue Apr 24, 2019 · 1 comment
Open

Boolean type does not seems handled well #18

antoineangot opened this issue Apr 24, 2019 · 1 comment

Comments

@antoineangot
Copy link
Contributor

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)"} []

@BigZ
Copy link
Contributor

BigZ commented Apr 25, 2019

you can try to use the getter property of @embedabble

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants