| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | /** |
||
| 29 | * Get columns. |
||
| 30 | * |
||
| 31 | * @return array |
||
| 32 | */ |
||
| 33 | protected function getColumns(): array |
||
| 34 | { |
||
| 35 | return [ |
||
| 36 | 'name' => ['title' => trans('cortex/statistics::common.name'), 'responsivePriority' => 0], |
||
| 37 | 'path' => ['title' => trans('cortex/statistics::common.path')], |
||
| 38 | 'action' => ['title' => trans('cortex/statistics::common.action')], |
||
| 39 | 'middleware' => ['title' => trans('cortex/statistics::common.middleware'), 'visible' => false], |
||
| 40 | 'parameters' => ['title' => trans('cortex/statistics::common.parameters'), 'visible' => false, 'render' => 'data ? JSON.stringify(data) : ""'], |
||
|
|
|||
| 41 | 'count' => ['title' => trans('cortex/statistics::common.count')], |
||
| 42 | ]; |
||
| 45 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.