@@ -46,6 +46,7 @@ discard block |
||
46 | 46 | |
47 | 47 | /** |
48 | 48 | * Saves the declarations to a file and returns the file contents |
49 | + * @param string $file_path |
|
49 | 50 | */ |
50 | 51 | public function save_declarations( $file_path ) { |
51 | 52 | $handle = fopen( $file_path, 'r+'); |
@@ -263,6 +264,9 @@ discard block |
||
263 | 264 | return $this->differences; |
264 | 265 | } |
265 | 266 | |
267 | + /** |
|
268 | + * @param Difference_Missing $difference |
|
269 | + */ |
|
266 | 270 | public function add_difference( $difference ) { |
267 | 271 | $this->differences[] = $difference; |
268 | 272 | } |
@@ -271,6 +275,9 @@ discard block |
||
271 | 275 | class Invocation_Finder extends NodeVisitorAbstract { |
272 | 276 | public $analyzer; |
273 | 277 | |
278 | + /** |
|
279 | + * @param Analyzer $analyzer |
|
280 | + */ |
|
274 | 281 | public function __construct( $analyzer ) { |
275 | 282 | $this->analyzer = $analyzer; |
276 | 283 | } |