| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php declare(strict_types=1); |
||
| 8 | trait RenderableBootstrapInputTrait |
||
| 9 | { |
||
| 10 | use RenderableBootstrapTrait; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Subcall of wrapper editable() |
||
| 14 | * |
||
| 15 | * @param mixed $value |
||
| 16 | * @param Field $field |
||
| 17 | * @param HTMLNode $previous |
||
| 18 | * @return HTMLNode |
||
| 19 | */ |
||
| 20 | public function viewable($value, Field $field, HTMLNode $previous): HTMLNode |
||
| 21 | { |
||
| 22 | return $previous; |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * |
||
| 27 | * |
||
| 28 | * @param mixed $value |
||
| 29 | * @param Field $field |
||
| 30 | * @param HTMLNode $previous |
||
| 31 | * @return HTMLNode |
||
| 32 | */ |
||
| 33 | public function _editable($value, Field $field, HTMLNode $previous): HTMLNode |
||
| 36 | } |
||
| 37 | } |
||
| 38 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.