fix deprecations: use fqcn for integer and number in CustomFieldNumber

This commit is contained in:
nobohan 2018-04-13 17:44:54 +02:00
parent da92b4df56
commit 0d05865091

View File

@ -77,8 +77,8 @@ class CustomFieldNumber extends AbstractCustomField
//select the type depending to the SCALE
$type = ($options[self::SCALE] === 0 or $options[self::SCALE] === NULL)?
//IntegerType::class : NumberType::class;
'integer' : 'number';
IntegerType::class : NumberType::class;
//'integer' : 'number';
$fieldOptions = $this->prepareFieldOptions($customField, $type);