Yaffs site version 1.1
[yaffs-website] / vendor / drupal / console-core / src / Command / Yaml / DiffCommand.php
index 98f39f2ffe0cc54e737e199194be19012b1c148c..47192f7eab2739cc8dd6d45a153b2db95855e881 100644 (file)
@@ -28,6 +28,7 @@ class DiffCommand extends Command
 
     /**
      * DiffCommand constructor.
+     *
      * @param NestedArray $nestedArray
      */
     public function __construct(NestedArray $nestedArray)
@@ -156,7 +157,7 @@ class DiffCommand extends Command
             return;
         }
         // FLAT YAML file to display full yaml to be used with command yaml:update:key or yaml:update:value
-        $diffFlatten = array();
+        $diffFlatten = [];
         $keyFlatten = '';
         $this->nestedArray->yamlFlattenArray($diff, $diffFlatten, $keyFlatten);