@@ -54,8 +54,6 @@ |
||
| 54 | 54 | /** |
| 55 | 55 | * Create an SQL backup file for the current database's structure |
| 56 | 56 | * |
| 57 | - * @param string $db_path |
|
| 58 | - * @param string $new_file |
|
| 59 | 57 | * @return string |
| 60 | 58 | */ |
| 61 | 59 | public function backup_structure() |
@@ -2,6 +2,10 @@ discard block |
||
| 2 | 2 | if ( ! function_exists('glob_recursive')) |
| 3 | 3 | { |
| 4 | 4 | // Does not support flag GLOB_BRACE |
| 5 | + |
|
| 6 | + /** |
|
| 7 | + * @param string $pattern |
|
| 8 | + */ |
|
| 5 | 9 | function glob_recursive($pattern, $flags = 0) |
| 6 | 10 | { |
| 7 | 11 | $files = glob($pattern, $flags); |
@@ -322,7 +326,7 @@ discard block |
||
| 322 | 326 | * Shortcut for joining an array of command arguments |
| 323 | 327 | * and then running it |
| 324 | 328 | * |
| 325 | - * @param array $cmd_parts - command arguments |
|
| 329 | + * @param string[] $cmd_parts - command arguments |
|
| 326 | 330 | * @param string $join_on - what to join the command arguments with |
| 327 | 331 | */ |
| 328 | 332 | protected function _run(array $cmd_parts, $join_on = ' ') |