@@ -300,7 +300,7 @@ discard block |
||
| 300 | 300 | * without the extension, with "_PHAR" appended, then converted to all |
| 301 | 301 | * caps (e.g., "/foo/guzzle.phar" gets a contant defined as GUZZLE_PHAR. |
| 302 | 302 | * |
| 303 | - * @param $dest |
|
| 303 | + * @param string $dest |
|
| 304 | 304 | * @param string $autoloaderFilename Name of the autoloader file. |
| 305 | 305 | * @param string $alias The phar alias to use |
| 306 | 306 | * |
@@ -378,6 +378,9 @@ discard block |
||
| 378 | 378 | $this->endSection(); |
| 379 | 379 | } |
| 380 | 380 | |
| 381 | + /** |
|
| 382 | + * @param string $dir |
|
| 383 | + */ |
|
| 381 | 384 | private function createDirIfNeeded($dir) |
| 382 | 385 | { |
| 383 | 386 | if (!is_dir($dir) && !mkdir($dir, 0755, true)) { |