@@ -33,6 +33,9 @@ |
||
33 | 33 | } |
34 | 34 | } |
35 | 35 | |
36 | + /** |
|
37 | + * @param string $root |
|
38 | + */ |
|
36 | 39 | public function scan_dir( $root, $exclude = array() ) { |
37 | 40 | |
38 | 41 | $filter = function ( $file, $key, $iterator ) use ( $exclude ) { |
@@ -30,6 +30,7 @@ |
||
30 | 30 | |
31 | 31 | /** |
32 | 32 | * Saves the items to a file and returns the file contents |
33 | + * @param string $file_path |
|
33 | 34 | */ |
34 | 35 | public function save( $file_path ) { |
35 | 36 | $handle = fopen( $file_path, 'w+'); |