| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 53 | 1 | public function onArticleFollows(MultiLineResponse $response) |
|
| 54 | { |
||
| 55 | 1 | return implode("\r\n", $response->getLines()->toArray()); |
|
|
|
|||
| 56 | } |
||
| 57 | |||
| 58 | 1 | public function onNoNewsGroupCurrentSelected(Response $response) |
|
| 59 | { |
||
| 60 | 1 | throw new RuntimeException('A group must be selected first before getting an article.', $response->getStatusCode()); |
|
| 61 | } |
||
| 62 | |||
| 73 |
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.