@@ -61,6 +61,9 @@ discard block |
||
| 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 ); |
@@ -132,6 +135,7 @@ discard block |
||
| 132 | 135 | |
| 133 | 136 | /** |
| 134 | 137 | * Saves the declarations to a file and returns the file contents |
| 138 | + * @param string $file_path |
|
| 135 | 139 | */ |
| 136 | 140 | public function save( $file_path ) { |
| 137 | 141 | $handle = fopen( $file_path, 'r+'); |
@@ -231,6 +235,9 @@ discard block |
||
| 231 | 235 | return $this->differences; |
| 232 | 236 | } |
| 233 | 237 | |
| 238 | + /** |
|
| 239 | + * @param Difference_Missing $difference |
|
| 240 | + */ |
|
| 234 | 241 | public function add( $difference ) { |
| 235 | 242 | $this->differences[] = $difference; |
| 236 | 243 | } |
@@ -287,6 +294,9 @@ discard block |
||
| 287 | 294 | class Invocation_Visitor extends NodeVisitorAbstract { |
| 288 | 295 | public $analyzer; |
| 289 | 296 | |
| 297 | + /** |
|
| 298 | + * @param Analyzer $analyzer |
|
| 299 | + */ |
|
| 290 | 300 | public function __construct( $analyzer ) { |
| 291 | 301 | $this->analyzer = $analyzer; |
| 292 | 302 | } |