| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 9 | class Renderable_pagination extends \Formularium\Renderable |
||
| 10 | { |
||
| 11 | public function viewable($value, Field $field, HTMLElement $previous): HTMLElement |
||
| 12 | { |
||
| 13 | return $this->pagination($value, $field, $previous); |
||
| 14 | } |
||
| 15 | |||
| 16 | public function editable($value, Field $field, HTMLElement $previous): HTMLElement |
||
| 17 | { |
||
| 18 | return $this->pagination($value, $field, $previous); |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param mixed $value |
||
| 23 | * @param Field $field |
||
| 24 | * @param HTMLElement $previous |
||
| 25 | * @return HTMLElement |
||
| 26 | */ |
||
| 27 | protected function pagination($value, Field $field, HTMLElement $previous): HTMLElement |
||
| 39 | } |
||
| 40 | } |
||
| 41 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.