| Conditions | 3 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 26 | public function _editable($value, Field $field, HTMLNode $previous): HTMLNode |
||
| 27 | { |
||
| 28 | // add extra classes |
||
| 29 | $previous->walk( |
||
| 30 | function ($e) { |
||
| 31 | if ($e instanceof HTMLNode) { |
||
| 32 | if ($e->getTag() === 'input') { |
||
| 33 | $e->setTag('b-form-timepicker'); |
||
| 34 | } |
||
| 35 | } |
||
| 36 | } |
||
| 37 | ); |
||
| 38 | return $previous; |
||
| 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.