Skip to content

Commit 3d186d7

Browse files
authored
Apply suggestion from @swissspidy
1 parent 435d11b commit 3d186d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/WP_CLI/Shell/REPL.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ private function set_history_file() {
150150
$this->history_file = \WP_CLI\Utils\get_temp_dir() . 'wp-cli-history-' . md5( $data );
151151
}
152152

153-
private static function starts_with( $tokens, $__repl_input_line ) {
154-
return preg_match( "/^($tokens)[\(\s]+/", $__repl_input_line );
153+
private static function starts_with( $tokens, $line ) {
154+
return preg_match( "/^($tokens)[\(\s]+/", $line );
155155
}
156156
}

0 commit comments

Comments
 (0)