@@ -76,6 +76,9 @@ |
||
| 76 | 76 | } |
| 77 | 77 | } |
| 78 | 78 | |
| 79 | + /** |
|
| 80 | + * @param string $codeClimateFormat |
|
| 81 | + */ |
|
| 79 | 82 | private function convertToJson($codeClimateFormat) |
| 80 | 83 | { |
| 81 | 84 | $codeClimateFormat = str_replace("\0", ',', $codeClimateFormat); |
@@ -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)); |