commit 65a0b7291b3d5fb86f1e8f2ff97ae71b5676ebb3 parent 58f14aae7b43112aff1bd19503cbc62b1a0fefca Author: Felicitus <felicitus@felicitus.org> Date: Thu, 21 May 2015 21:47:27 +0200 Added decimal and float mappings Diffstat:
M | src/PartKeepr/DoctrineReflectionBundle/Services/ReflectionService.php | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/PartKeepr/DoctrineReflectionBundle/Services/ReflectionService.php b/src/PartKeepr/DoctrineReflectionBundle/Services/ReflectionService.php @@ -81,6 +81,12 @@ class ReflectionService { case "boolean": return "boolean"; break; + case "float": + return "number"; + break; + case "decimal": + return "number"; + break; } return "undefined";