@@ -5,7 +5,7 @@ |
||
5 | 5 | { |
6 | 6 | /** |
7 | 7 | */ |
8 | - public function testFunction ( |
|
8 | + public function testFunction( |
|
9 | 9 | $param1, |
10 | 10 | $param2 |
11 | 11 | ) { |
@@ -8,6 +8,9 @@ |
||
8 | 8 | */ |
9 | 9 | class PhanJsonLoader extends CodeClimateLoader |
10 | 10 | { |
11 | + /** |
|
12 | + * @param string $file |
|
13 | + */ |
|
11 | 14 | public function __construct($file) |
12 | 15 | { |
13 | 16 | $this->file = json_decode(file_get_contents($file)); |
@@ -106,7 +106,7 @@ |
||
106 | 106 | } |
107 | 107 | |
108 | 108 | if (!empty($this->invalidLines[$file][$lineNumber])) { |
109 | - $errors = array_merge($errors, $this->invalidLines[$file][$lineNumber]); |
|
109 | + $errors = array_merge($errors, $this->invalidLines[$file][$lineNumber]); |
|
110 | 110 | } |
111 | 111 | |
112 | 112 | $errors = array_merge($errors, $this->getRangeErrors($file, $lineNumber)); |