| Total Complexity | 4 |
| Total Lines | 52 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | class AccountRepository |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @param array $filters |
||
| 15 | * |
||
| 16 | * @return Builder |
||
| 17 | */ |
||
| 18 | public function filterQuery(array $filters = []): Builder |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Last updated username. |
||
| 30 | * |
||
| 31 | * @param string $uuid |
||
| 32 | * @param array $columns |
||
| 33 | * |
||
| 34 | * @return Builder|\Illuminate\Database\Eloquent\Model|object|null |
||
| 35 | */ |
||
| 36 | public function findLastUpdatedByUsername(string $uuid, $columns = ['*']) |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param array $filters |
||
| 47 | * @param int|null $perPage |
||
| 48 | * @param array $columns |
||
| 49 | * @param string $pageName |
||
| 50 | * @param int|null $page |
||
| 51 | * |
||
| 52 | * @return LengthAwarePaginator |
||
| 53 | */ |
||
| 54 | public function filterPaginate( |
||
| 65 |