Skip to content
Snippets Groups Projects
Commit ba5d9d6d authored by Erick Hitter's avatar Erick Hitter
Browse files

Assuaging my neurosis

parent 5e015061
No related branches found
No related tags found
No related merge requests found
...@@ -213,14 +213,14 @@ function implode_parsed_command( $command ) { ...@@ -213,14 +213,14 @@ function implode_parsed_command( $command ) {
$to_implode = array(); $to_implode = array();
if ( ! empty( $command['global_assoc'] ) ) { if ( ! empty( $command['global_assoc'] ) ) {
$global = array_map( __NAMESPACE__ . '\_assoc_arg_array_to_string', $command['global_assoc'] ); $global = array_map( __NAMESPACE__ . '\_assoc_arg_array_to_string', $command['global_assoc'] );
$to_implode = array_merge( $to_implode, $global ); $to_implode = array_merge( $to_implode, $global );
} }
$to_implode = array_merge( $to_implode, $command['positional_args'] ); $to_implode = array_merge( $to_implode, $command['positional_args'] );
if ( ! empty( $command['local_assoc'] ) ) { if ( ! empty( $command['local_assoc'] ) ) {
$local = array_map( __NAMESPACE__ . '\_assoc_arg_array_to_string', $command['local_assoc'] ); $local = array_map( __NAMESPACE__ . '\_assoc_arg_array_to_string', $command['local_assoc'] );
$to_implode = array_merge( $to_implode, $local ); $to_implode = array_merge( $to_implode, $local );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment