1
0
mirror of synced 2025-02-09 00:39:25 +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 committed by Benjamin Eberlei
parent 29d6da0fa0
commit e6007575e1

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',
);