@@ -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 = []) { |
24 | 27 | parent::__construct($command, $env); |
25 | 28 | $this->parser = $parser; |
@@ -88,7 +91,7 @@ discard block |
||
88 | 91 | /** |
89 | 92 | * Check |
90 | 93 | * |
91 | - * @param $line |
|
94 | + * @param string|false $line |
|
92 | 95 | * @return bool |
93 | 96 | */ |
94 | 97 | private function isPrompt($line) { |