mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 22:04:23 +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
|
//select the type depending to the SCALE
|
||||||
$type = ($options[self::SCALE] === 0 or $options[self::SCALE] === NULL)?
|
$type = ($options[self::SCALE] === 0 or $options[self::SCALE] === NULL)?
|
||||||
//IntegerType::class : NumberType::class;
|
IntegerType::class : NumberType::class;
|
||||||
'integer' : 'number';
|
//'integer' : 'number';
|
||||||
|
|
||||||
$fieldOptions = $this->prepareFieldOptions($customField, $type);
|
$fieldOptions = $this->prepareFieldOptions($customField, $type);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user