Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / language / src / LanguageServiceProvider.php
index 4060f75d371e10668f82cb781ddf3c8dc24ebeba..a7e934aab66b88860bdbf0ee4650880f42333fc6 100644 (file)
@@ -70,7 +70,7 @@ class LanguageServiceProvider extends ServiceProviderBase {
     //   and caching. This might prove difficult as this is called before the
     //   container has finished building.
     $config_storage = BootstrapConfigStorageFactory::get();
-    $config_ids = array_filter($config_storage->listAll($prefix), function($config_id) use ($prefix) {
+    $config_ids = array_filter($config_storage->listAll($prefix), function ($config_id) use ($prefix) {
       return $config_id != $prefix . LanguageInterface::LANGCODE_NOT_SPECIFIED && $config_id != $prefix . LanguageInterface::LANGCODE_NOT_APPLICABLE;
     });
     return count($config_ids) > 1;