X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fserialization%2Ftests%2Fmodules%2Ffield_normalization_test%2Fsrc%2FNormalization%2FTextItemSillyNormalizer.php;fp=web%2Fcore%2Fmodules%2Fserialization%2Ftests%2Fmodules%2Ffield_normalization_test%2Fsrc%2FNormalization%2FTextItemSillyNormalizer.php;h=88f24149ca5791b897316994f8497f4450c45895;hp=45438f4074d540a9729b7b73bab03a5dfb2ff50f;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/serialization/tests/modules/field_normalization_test/src/Normalization/TextItemSillyNormalizer.php b/web/core/modules/serialization/tests/modules/field_normalization_test/src/Normalization/TextItemSillyNormalizer.php index 45438f407..88f24149c 100644 --- a/web/core/modules/serialization/tests/modules/field_normalization_test/src/Normalization/TextItemSillyNormalizer.php +++ b/web/core/modules/serialization/tests/modules/field_normalization_test/src/Normalization/TextItemSillyNormalizer.php @@ -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; }