| Conditions | 4 |
| Paths | 4 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function updateFormFields(FieldList $fields, $controller, $formName, $context) |
||
| 21 | { |
||
| 22 | $record = isset($context['Record']) ? $context['Record'] : null; |
||
| 23 | if ($record && $record->SalsifyID) { |
||
| 24 | $fields->insertAfter('LastEdited', ReadonlyField::create('SalsifyID', 'Salsify ID')); |
||
| 25 | } |
||
| 28 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.