| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 27 | protected function pagination($value, Field $field, HTMLElement $previous): HTMLElement |
||
| 28 | { |
||
| 29 | $p = HTMLElement::factory( |
||
| 30 | 'b-pagination', |
||
| 31 | [ |
||
| 32 | ':total' => $field->getName() . ".total", |
||
| 33 | ':current.sync' => $field->getName() . ".current_page", |
||
| 34 | ':per-page' => $field->getName() . ".per_page" |
||
| 35 | ] |
||
| 36 | ); |
||
| 37 | |||
| 38 | return $p; |
||
| 39 | } |
||
| 41 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.