Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / language / src / Plugin / Condition / Language.php
index a5b3d41e8c1794cbe38e3d0015742f028ae34752..52a89a2d0f74c152c99ee8756f3992667828a207 100644 (file)
@@ -104,7 +104,7 @@ class Language extends ConditionPluginBase implements ContainerFactoryPluginInte
     $language_list = $this->languageManager->getLanguages(LanguageInterface::STATE_ALL);
     $selected = $this->configuration['langcodes'];
     // Reduce the language list to an array of language names.
-    $language_names = array_reduce($language_list, function(&$result, $item) use ($selected) {
+    $language_names = array_reduce($language_list, function (&$result, $item) use ($selected) {
       // If the current item of the $language_list array is one of the selected
       // languages, add it to the $results array.
       if (!empty($selected[$item->getId()])) {