1
0
mirror of synced 2025-01-31 04:21:44 +03:00

Corrected PHP type for "decimal" mapping type

"Basic Mapping" documentation says:
"decimal: Type that maps a SQL DECIMAL to a PHP string."
This commit is contained in:
J Bruni 2013-08-03 05:44:15 -03:00
parent a19106b03d
commit 3c613b9c02

View File

@ -152,7 +152,7 @@ class EntityGenerator
Type::SMALLINT => 'integer',
Type::TEXT => 'string',
Type::BLOB => 'string',
Type::DECIMAL => 'float',
Type::DECIMAL => 'string',
Type::JSON_ARRAY => 'array',
Type::SIMPLE_ARRAY => 'array',
);