| Total Complexity | 3 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class LoggingController extends DataController |
||
| 10 | { |
||
| 11 | public function index() |
||
| 12 | { |
||
| 13 | if (request()->filled('user_id')) { |
||
| 14 | $this->repository->pushCriteria(new Where('user_id', request('user_id'))); |
||
| 15 | } |
||
| 16 | |||
| 17 | return parent::index(); |
||
| 18 | } |
||
| 19 | |||
| 20 | protected function getRepository() |
||
| 23 | } |
||
| 24 | } |
||
| 25 |