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 / EmailItem.php
index ca30ede268112ff41b2d766750c6d0169f697796..a6801fc229f5f4e4d5678387d096f9637a2b6eee 100644 (file)
@@ -59,7 +59,7 @@ class EmailItem extends FieldItemBase {
         'Length' => [
           'max' => Email::EMAIL_MAX_LENGTH,
           'maxMessage' => t('%name: the email address can not be longer than @max characters.', ['%name' => $this->getFieldDefinition()->getLabel(), '@max' => Email::EMAIL_MAX_LENGTH]),
-        ]
+        ],
       ],
     ]);