@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * Get file handle. |
| 33 | - * @return bool|resource |
|
| 33 | + * @return boolean |
|
| 34 | 34 | * @throws \Exception |
| 35 | 35 | */ |
| 36 | 36 | public function getHandle() |
@@ -89,6 +89,10 @@ discard block |
||
| 89 | 89 | * @var \CommandInterface[] |
| 90 | 90 | */ |
| 91 | 91 | protected $commands = []; |
| 92 | + |
|
| 93 | + /** |
|
| 94 | + * @param string $filename |
|
| 95 | + */ |
|
| 92 | 96 | protected function runCommand($filename) |
| 93 | 97 | { |
| 94 | 98 | foreach ($this->commands as $command) { |
@@ -80,6 +80,7 @@ |
||
| 80 | 80 | /** |
| 81 | 81 | * @inheritdoc |
| 82 | 82 | * @param bool $count |
| 83 | + * @param string $string |
|
| 83 | 84 | * @throws \Exception |
| 84 | 85 | */ |
| 85 | 86 | public function write($string, $count = true) |