@@ -47,7 +47,7 @@ |
||
| 47 | 47 | */ |
| 48 | 48 | public static function listDirectories($d) |
| 49 | 49 | { |
| 50 | - return array_filter(scandir($d), function ($f) use ($d) { |
|
| 50 | + return array_filter(scandir($d), function($f) use ($d) { |
|
| 51 | 51 | return is_dir($d . DIRECTORY_SEPARATOR . $f) && ($f[0] != '.'); |
| 52 | 52 | }); |
| 53 | 53 | } |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | * directories that do not yet exist. |
| 27 | 27 | * |
| 28 | 28 | * @param $path The directory path to create. |
| 29 | - * @return boolean |
|
| 29 | + * @return boolean|null |
|
| 30 | 30 | */ |
| 31 | 31 | public static function mkdirParents($path) |
| 32 | 32 | { |
@@ -74,7 +74,8 @@ discard block |
||
| 74 | 74 | /** |
| 75 | 75 | * Find all installed projects in one organization dir. |
| 76 | 76 | * |
| 77 | - * @param string $globalOrgDir |
|
| 77 | + * @param string $globalBaseDir |
|
| 78 | + * @param string $org |
|
| 78 | 79 | * @return string[] |
| 79 | 80 | */ |
| 80 | 81 | protected static function allInstalledProjectsInOneOrg($globalBaseDir, $org) |
@@ -295,7 +295,7 @@ |
||
| 295 | 295 | */ |
| 296 | 296 | public function flipProjectsArray($projects) |
| 297 | 297 | { |
| 298 | - return array_map(function () { |
|
| 298 | + return array_map(function() { |
|
| 299 | 299 | return ''; |
| 300 | 300 | }, array_flip($projects)); |
| 301 | 301 | } |