mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 10:33:49 +00:00
fix deprecations: use fqcn for integer and number in CustomFieldNumber
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user