Skip to content

Commit eeddb2b

Browse files
committed
Merge pull request wp-cli#17 from wp-cli/fix-php-5.3.2
add missing backslash for namespaces
2 parents c23ffe9 + 7af88b4 commit eeddb2b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/cli/cli.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function line( $msg = '' ) {
8383
// func_get_args is empty if no args are passed even with the default above.
8484
$args = func_get_args();
8585
if( $args ) {
86-
call_user_func_array( array( '\\cli\Streams', 'line' ), $args );
86+
call_user_func_array( array( '\\cli\\Streams', 'line' ), $args );
8787
} else {
8888
\cli\Streams::line();
8989
}
@@ -102,7 +102,7 @@ function err( $msg = '' ) {
102102
// func_get_args is empty if no args are passed even with the default above.
103103
$args = func_get_args();
104104
if( $args ) {
105-
call_user_func_array( array( '\\cli\Streams', 'err' ), $args );
105+
call_user_func_array( array( '\\cli\\Streams', 'err' ), $args );
106106
} else {
107107
\cli\Streams::err();
108108
}

0 commit comments

Comments
 (0)