| Total Complexity | 8 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class Nip_Form_Renderer_Paragraph extends AbstractRenderer |
||
|
|
|||
| 6 | { |
||
| 7 | public function renderElements() |
||
| 17 | } |
||
| 18 | |||
| 19 | public function renderRows() |
||
| 20 | { |
||
| 21 | $elements = $this->getElements(); |
||
| 22 | $return = ''; |
||
| 23 | foreach ($elements as $element) { |
||
| 24 | $return .= $this->renderRow($element); |
||
| 25 | } |
||
| 26 | |||
| 27 | return $return; |
||
| 28 | } |
||
| 29 | |||
| 30 | public function renderRow($element) |
||
| 49 | } |
||
| 50 | } |
||
| 51 |
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.