mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-10 00:34:58 +00:00
cs: Enable a couple of risky rules.
This commit is contained in:
@@ -59,7 +59,7 @@ class CustomFieldNumber extends AbstractCustomField
|
||||
$options = $customField->getOptions();
|
||||
|
||||
//select the type depending to the SCALE
|
||||
$type = (0 === $options[self::SCALE] or null === $options[self::SCALE]) ?
|
||||
$type = (0 === $options[self::SCALE] || null === $options[self::SCALE]) ?
|
||||
IntegerType::class : NumberType::class;
|
||||
//'integer' : 'number';
|
||||
|
||||
|
Reference in New Issue
Block a user