Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / hal / src / Normalizer / ContentEntityNormalizer.php
index 4a9f7c440d7aba8510fe163c1c2bcde4bf40fe7c..c8ceb1ca8e5a9d1be99566ee58449f88dc7a36fa 100644 (file)
@@ -126,7 +126,7 @@ class ContentEntityNormalizer extends NormalizerBase {
 
     // Figure out the language to use.
     if (isset($data[$default_langcode_key])) {
-      // Find the field item for which the default_lancode value is set to 1 and
+      // Find the field item for which the default_langcode value is set to 1 and
       // set the langcode the right default language.
       foreach ($data[$default_langcode_key] as $item) {
         if (!empty($item['value']) && isset($item['lang'])) {