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