Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / serialization / tests / modules / field_normalization_test / src / Normalization / TextItemSillyNormalizer.php
index 45438f4074d540a9729b7b73bab03a5dfb2ff50f..88f24149ca5791b897316994f8497f4450c45895 100644 (file)
@@ -29,7 +29,7 @@ class TextItemSillyNormalizer extends FieldItemNormalizer {
    */
   protected function constructValue($data, $context) {
     $value = parent::constructValue($data, $context);
-    $value['value']  = str_replace('::silly_suffix', '', $value['value']);
+    $value['value'] = str_replace('::silly_suffix', '', $value['value']);
     return $value;
   }