@@ -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; |
@@ -312,7 +312,7 @@ |
||
312 | 312 | * |
313 | 313 | * @param string $path |
314 | 314 | * @param string $attribute attribute to get the info |
315 | - * @param string|int $value |
|
315 | + * @param integer $value |
|
316 | 316 | * @return mixed the attribute value |
317 | 317 | */ |
318 | 318 | public function setAttribute(string $path, string $attribute, $value) { |
@@ -380,7 +380,7 @@ |
||
380 | 380 | /** |
381 | 381 | * @param string $path |
382 | 382 | * @param int $mode a combination of FileInfo::MODE_READONLY, FileInfo::MODE_ARCHIVE, FileInfo::MODE_SYSTEM and FileInfo::MODE_HIDDEN, FileInfo::NORMAL |
383 | - * @return mixed |
|
383 | + * @return boolean |
|
384 | 384 | */ |
385 | 385 | public function setMode(string $path, int $mode) { |
386 | 386 | $modeString = ''; |