@@ -9,6 +9,9 @@ |
||
9 | 9 | private $invocations; |
10 | 10 | private $file_path; |
11 | 11 | |
12 | + /** |
|
13 | + * @param $invocations |
|
14 | + */ |
|
12 | 15 | public function __construct( $file_path, $invocations ) { |
13 | 16 | $this->file_path = $file_path; |
14 | 17 | $this->invocations = $invocations; |
@@ -8,6 +8,9 @@ |
||
8 | 8 | public $line; |
9 | 9 | public $message; |
10 | 10 | |
11 | + /** |
|
12 | + * @param string $message |
|
13 | + */ |
|
11 | 14 | function __construct( $path, $line, $message ) { |
12 | 15 | $this->path = $path; |
13 | 16 | $this->line = $line; |
@@ -33,6 +33,9 @@ |
||
33 | 33 | } |
34 | 34 | } |
35 | 35 | |
36 | + /** |
|
37 | + * @param string $root |
|
38 | + */ |
|
36 | 39 | public function scan_dir( $root, $exclude = array() ) { |
37 | 40 | |
38 | 41 | $filter = function ( $file, $key, $iterator ) use ( $exclude ) { |
@@ -10,6 +10,9 @@ |
||
10 | 10 | private $declarations; |
11 | 11 | private $current_relative_path; |
12 | 12 | |
13 | + /** |
|
14 | + * @param $declarations |
|
15 | + */ |
|
13 | 16 | public function __construct( $current_relative_path, $declarations ) { |
14 | 17 | $this->current_relative_path = $current_relative_path; |
15 | 18 | $this->declarations = $declarations; |
@@ -33,6 +33,9 @@ |
||
33 | 33 | } |
34 | 34 | } |
35 | 35 | |
36 | + /** |
|
37 | + * @param string $root |
|
38 | + */ |
|
36 | 39 | public function scan_dir( $root, $exclude = array() ) { |
37 | 40 | |
38 | 41 | $filter = function ( $file, $key, $iterator ) use ( $exclude ) { |
@@ -30,6 +30,7 @@ |
||
30 | 30 | |
31 | 31 | /** |
32 | 32 | * Saves the items to a file and returns the file contents |
33 | + * @param string $file_path |
|
33 | 34 | */ |
34 | 35 | public function save( $file_path ) { |
35 | 36 | $handle = fopen( $file_path, 'w+'); |