Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
42 | protected function getColumns() |
||
43 | { |
||
44 | return [ |
||
45 | 'name' => ['title' => trans('cortex/fort::common.name'), 'render' => '"<a href=\""+routes.route(\'backend.roles.edit\', {role: full.id})+"\">"+data+"</a>"', 'responsivePriority' => 0], |
||
46 | 'created_at' => ['title' => trans('cortex/fort::common.created_at'), 'width' => '15%', 'render' => "moment(data).format('MMM Do, YYYY')"], |
||
47 | 'updated_at' => ['title' => trans('cortex/fort::common.updated_at'), 'width' => '15%', 'render' => "moment(data).format('MMM Do, YYYY')"], |
||
48 | ]; |
||
49 | } |
||
50 | } |
||
51 |
This check looks for the generic type
array
as a return type and suggests a more specific type. This type is inferred from the actual code.