Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Field / Plugin / Field / FieldType / DecimalItem.php
index 00fe4098c764f9f63f506fd281167dfeb84842a0..379ff74db0cdda1e8fa0f784f5321c1eb25607be 100644 (file)
@@ -52,7 +52,7 @@ class DecimalItem extends NumericItemBase {
           'type' => 'numeric',
           'precision' => $field_definition->getSetting('precision'),
           'scale' => $field_definition->getSetting('scale'),
-        ]
+        ],
       ],
     ];
   }
@@ -98,14 +98,13 @@ class DecimalItem extends NumericItemBase {
       'value' => [
         'Regex' => [
           'pattern' => '/^[+-]?((\d+(\.\d*)?)|(\.\d+))$/i',
-        ]
+        ],
       ],
     ]);
 
     return $constraints;
   }
 
-
   /**
    * {@inheritdoc}
    */
@@ -154,7 +153,6 @@ class DecimalItem extends NumericItemBase {
     return $values;
   }
 
-
   /**
    * Helper method to get the number of decimal digits out of a decimal number.
    *