| Conditions | 5 |
| Paths | 4 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | public function getSupport() |
||
| 38 | { |
||
| 39 | if (empty($this->config)) { |
||
| 40 | return false; |
||
| 41 | } |
||
| 42 | |||
| 43 | foreach ($this->apiService as $service) { |
||
| 44 | $service->setConfig($this->config); |
||
| 45 | if ($service instanceof ApiInterface && $service->getSupport()) { |
||
| 46 | return $service; |
||
| 47 | } |
||
| 48 | } |
||
| 49 | return false; |
||
| 50 | } |
||
| 51 | /** |
||
| 70 |
This check marks files that end in a newline character, i.e. an empy line.