|
@ -755,7 +755,7 @@ class Spyc { |
|
|
return $this->addArrayInline ($incoming_data, $incoming_indent); |
|
|
return $this->addArrayInline ($incoming_data, $incoming_indent); |
|
|
|
|
|
|
|
|
$key = key ($incoming_data); |
|
|
$key = key ($incoming_data); |
|
|
$value = \WP_CLI\Utils\get_flag_value( $incoming_data, $key ); |
|
|
$value = \EE_CLI\Utils\get_flag_value( $incoming_data, $key ); |
|
|
if ($key === '__!YAMLZero') $key = '0'; |
|
|
if ($key === '__!YAMLZero') $key = '0'; |
|
|
|
|
|
|
|
|
if ($incoming_indent == 0 && !$this->_containsGroupAlias && !$this->_containsGroupAnchor) { // Shortcut for root-level values. |
|
|
if ($incoming_indent == 0 && !$this->_containsGroupAlias && !$this->_containsGroupAnchor) { // Shortcut for root-level values. |
|
|