| Conditions | 5 |
| Paths | 5 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | private function detect() |
||
| 28 | { |
||
| 29 | $params = $this->getParams(); |
||
| 30 | |||
| 31 | if (empty($params)) { |
||
| 32 | return; |
||
| 33 | } |
||
| 34 | |||
| 35 | foreach ($params as $param) { |
||
| 36 | if ($param != '') { |
||
| 37 | $data = explode(":", $param); |
||
| 38 | if (strpos(strtolower($this->sanitizeReference()), strtolower($data[0])) !== false) { |
||
| 39 | $this->setRealScore($data); |
||
| 40 | } |
||
| 57 | } |