@@ -113,6 +113,10 @@ discard block |
||
113 | 113 | return $this->name; |
114 | 114 | } |
115 | 115 | |
116 | + /** |
|
117 | + * @param string $command |
|
118 | + * @param string $path |
|
119 | + */ |
|
116 | 120 | protected function simpleCommand($command, $path) { |
117 | 121 | $escapedPath = $this->escapePath($path); |
118 | 122 | $cmd = $command . ' ' . $escapedPath; |
@@ -323,7 +327,7 @@ discard block |
||
323 | 327 | /** |
324 | 328 | * @param string $path |
325 | 329 | * @param int $mode a combination of FileInfo::MODE_READONLY, FileInfo::MODE_ARCHIVE, FileInfo::MODE_SYSTEM and FileInfo::MODE_HIDDEN, FileInfo::NORMAL |
326 | - * @return mixed |
|
330 | + * @return boolean |
|
327 | 331 | */ |
328 | 332 | public function setMode($path, $mode) { |
329 | 333 | $modeString = ''; |
@@ -373,7 +377,7 @@ discard block |
||
373 | 377 | |
374 | 378 | /** |
375 | 379 | * @param string $command |
376 | - * @return array |
|
380 | + * @return string[] |
|
377 | 381 | */ |
378 | 382 | protected function execute($command) { |
379 | 383 | $this->connect(); |
@@ -21,6 +21,9 @@ |
||
21 | 21 | /** @var Parser */ |
22 | 22 | private $parser; |
23 | 23 | |
24 | + /** |
|
25 | + * @param string $command |
|
26 | + */ |
|
24 | 27 | public function __construct($command, Parser $parser, $env = []) { |
25 | 28 | parent::__construct($command, $env); |
26 | 29 | $this->parser = $parser; |