We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 435d11b commit 3d186d7Copy full SHA for 3d186d7
1 file changed
src/WP_CLI/Shell/REPL.php
@@ -150,7 +150,7 @@ private function set_history_file() {
150
$this->history_file = \WP_CLI\Utils\get_temp_dir() . 'wp-cli-history-' . md5( $data );
151
}
152
153
- private static function starts_with( $tokens, $__repl_input_line ) {
154
- return preg_match( "/^($tokens)[\(\s]+/", $__repl_input_line );
+ private static function starts_with( $tokens, $line ) {
+ return preg_match( "/^($tokens)[\(\s]+/", $line );
155
156
0 commit comments