| Total Complexity | 2 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | class GridFieldExtension extends Extension |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * Add the visibility classes to the GridField |
||
| 28 | * |
||
| 29 | * @param array $classes |
||
| 30 | * @param int $total |
||
| 31 | * @param string $index |
||
| 32 | * @param DataObject $record |
||
| 33 | */ |
||
| 34 | public function updateNewRowClasses(array &$classes, int $total, string $index, ViewableData $record) |
||
| 41 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.