@@ -20,6 +20,9 @@ discard block |
||
20 | 20 | /** @var Parser */ |
21 | 21 | private $parser; |
22 | 22 | |
23 | + /** |
|
24 | + * @param string $command |
|
25 | + */ |
|
23 | 26 | public function __construct($command, Parser $parser, $env = array()) { |
24 | 27 | parent::__construct($command, $env); |
25 | 28 | $this->parser = $parser; |
@@ -75,7 +78,7 @@ discard block |
||
75 | 78 | /** |
76 | 79 | * Check |
77 | 80 | * |
78 | - * @param $line |
|
81 | + * @param string|false $line |
|
79 | 82 | * @return bool |
80 | 83 | */ |
81 | 84 | private function isPrompt($line) { |