| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function Content() |
||
| 21 | { |
||
| 22 | $html = ''; |
||
| 23 | $daysBack = $this->calculatedDaysBack(); |
||
| 24 | $data = $this->calculateOnDaysback($daysBack); |
||
| 25 | $html .= $this->formatContentSection($daysBack, $data); |
||
| 26 | |||
| 27 | $daysBack = 9999; |
||
| 28 | $data = $this->calculateOnDaysback($daysBack); |
||
| 29 | $html .= $this->formatContentSection($daysBack, $data); |
||
| 30 | |||
| 31 | return $html; |
||
| 32 | |||
| 33 | } |
||
| 34 | |||
| 76 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.