| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function updateFormActions($actions, $controller, $formName, $context) |
||
| 27 | { |
||
| 28 | if ($popoverField = $actions->fieldByName('PopoverActions')) { |
||
| 29 | $popoverField->unshift(FormAction::create( |
||
| 30 | 'addtocampaign', |
||
| 31 | _t('SilverStripe\\AssetAdmin\\Controller\\AssetAdmin.ADDTOCAMPAIGN', 'Add to campaign') |
||
| 32 | )); |
||
| 33 | } |
||
| 34 | } |
||
| 35 | } |
||
| 36 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.