X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fdrupal%2Fconsole-core%2Fsrc%2FCommand%2FYaml%2FDiffCommand.php;fp=vendor%2Fdrupal%2Fconsole-core%2Fsrc%2FCommand%2FYaml%2FDiffCommand.php;h=47192f7eab2739cc8dd6d45a153b2db95855e881;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hp=98f39f2ffe0cc54e737e199194be19012b1c148c;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/vendor/drupal/console-core/src/Command/Yaml/DiffCommand.php b/vendor/drupal/console-core/src/Command/Yaml/DiffCommand.php index 98f39f2ff..47192f7ea 100644 --- a/vendor/drupal/console-core/src/Command/Yaml/DiffCommand.php +++ b/vendor/drupal/console-core/src/Command/Yaml/DiffCommand.php @@ -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);