mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
fix deprecations: use fqcn for integer and number in CustomFieldNumber
This commit is contained in:
parent
da92b4df56
commit
0d05865091
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user