@@ -61,6 +61,9 @@ |
||
| 61 | 61 | return $declarations; |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | + /** |
|
| 65 | + * @param Declarations $declarations |
|
| 66 | + */ |
|
| 64 | 67 | public function file( $file_path, $declarations ) { |
| 65 | 68 | $this->current_path = $file_path; |
| 66 | 69 | $current_relative_path = str_replace( $this->base_path, '', $file_path ); |
@@ -15,6 +15,9 @@ |
||
| 15 | 15 | return $this->differences; |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | + /** |
|
| 19 | + * @param Difference_Missing $difference |
|
| 20 | + */ |
|
| 18 | 21 | public function add( $difference ) { |
| 19 | 22 | $this->differences[] = $difference; |
| 20 | 23 | } |
@@ -25,6 +25,7 @@ |
||
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * Saves the declarations to a file and returns the file contents |
| 28 | + * @param string $file_path |
|
| 28 | 29 | */ |
| 29 | 30 | public function save( $file_path ) { |
| 30 | 31 | $handle = fopen( $file_path, 'r+'); |