Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / config / Definition / ArrayNode.php
index 8320f4aac315e2644a23cf9f406f1e9619872038..457e7a8c92e34ac1cea8c65c286250e83e9ffd35 100644 (file)
@@ -332,9 +332,7 @@ class ArrayNode extends BaseNode implements PrototypeNodeInterface
      */
     protected function remapXml($value)
     {
-        foreach ($this->xmlRemappings as $transformation) {
-            list($singular, $plural) = $transformation;
-
+        foreach ($this->xmlRemappings as list($singular, $plural)) {
             if (!isset($value[$singular])) {
                 continue;
             }