@@ -9,6 +9,9 @@ |
||
| 9 | 9 | |
| 10 | 10 | class Differences extends PersistentList { |
| 11 | 11 | |
| 12 | + /** |
|
| 13 | + * @param string $path |
|
| 14 | + */ |
|
| 12 | 15 | private function slashit( $path ) { |
| 13 | 16 | $path .= ( substr( $path, -1 ) == '/' ? '' : '/' ); |
| 14 | 17 | return $path; |
@@ -22,6 +22,7 @@ discard block |
||
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | 24 | * Scan every PHP in the root |
| 25 | + * @param string $root |
|
| 25 | 26 | */ |
| 26 | 27 | public function scan( $root, $exclude = array() ) { |
| 27 | 28 | if ( is_dir( $root ) ) { |
@@ -33,6 +34,9 @@ discard block |
||
| 33 | 34 | } |
| 34 | 35 | } |
| 35 | 36 | |
| 37 | + /** |
|
| 38 | + * @param string $root |
|
| 39 | + */ |
|
| 36 | 40 | public function scan_dir( $root, $exclude = array() ) { |
| 37 | 41 | |
| 38 | 42 | if ( is_null( $exclude ) || ! is_array( $exclude ) ) { |