| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 63 | public function render() |
||
| 64 | { |
||
| 65 | 1 | $renderFunction = function (&$element, $key) { |
|
|
|
|||
| 66 | 1 | $element = $element->render(); |
|
| 67 | 1 | }; |
|
| 68 | 1 | array_walk($this->elements, $renderFunction); |
|
| 69 | |||
| 70 | 1 | $structuredElements = StructureManager::buildStructure($this->elements, $this->structure); |
|
| 71 | |||
| 72 | 1 | return $structuredElements; |
|
| 73 | } |
||
| 74 | } |
||
| 75 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.