@@ -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 = null ) { |
54 | 57 | if ( ! $declarations ) { |
55 | 58 | $declarations = new Declarations(); |
@@ -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; |
@@ -26,6 +26,7 @@ |
||
26 | 26 | |
27 | 27 | /** |
28 | 28 | * Saves the items to a file and returns the file contents |
29 | + * @param string $file_path |
|
29 | 30 | */ |
30 | 31 | public function save( $file_path ) { |
31 | 32 | $handle = fopen( $file_path, 'r+'); |
@@ -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; |