@@ -50,6 +50,9 @@ |
||
50 | 50 | return $declarations; |
51 | 51 | } |
52 | 52 | |
53 | + /** |
|
54 | + * @param Declarations $declarations |
|
55 | + */ |
|
53 | 56 | public function file( $file_path, $declarations ) { |
54 | 57 | $this->current_path = $file_path; |
55 | 58 | $current_relative_path = str_replace( $this->base_path, '', $file_path ); |
@@ -8,6 +8,9 @@ |
||
8 | 8 | class Visitor extends NodeVisitorAbstract { |
9 | 9 | public $analyzer; |
10 | 10 | |
11 | + /** |
|
12 | + * @param \Automattic\Jetpack\Analyzer\Declaration_Differences $analyzer |
|
13 | + */ |
|
11 | 14 | public function __construct( $analyzer ) { |
12 | 15 | $this->analyzer = $analyzer; |
13 | 16 | } |