You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, all types should be explicitly referenced in the code. If the Doctrine's decimal type accepts both string and float, you should have string|float in your setter parameter and as the property type.
Hi, is it feasible for the plugin to detect Doctrine's behavior with respect to floats being handled as a string? Example:
Error output: Parameter #1 $number of method Demo::setPrice() expects string, float given
Note: The Doctrine orm: generate-entities console command generates the method with its parameter as string.
Thanks.
The text was updated successfully, but these errors were encountered: