mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Fix phpstan reported errors
This commit is contained in:
@@ -57,7 +57,7 @@ class AdminUserController extends BasePageController
|
||||
$variables['created_to']
|
||||
);
|
||||
|
||||
$results = $this->paginate($result ?? [], User::getCount($variables['role'], $variables['username'], $variables['host'], $variables['email'], $variables['created_from'], $variables['created_to']) ?? 0, config('nntmux.items_per_page'), $page, $request->url(), $request->query());
|
||||
$results = $this->paginate($result, User::getCount($variables['role'], $variables['username'], $variables['host'], $variables['email'], $variables['created_from'], $variables['created_to']), config('nntmux.items_per_page'), $page, $request->url(), $request->query());
|
||||
|
||||
// Note: API request counts are already included via the getRange query when $apiRequests = true
|
||||
// Country lookups and additional counts removed to improve performance on large datasets
|
||||
|
||||
Reference in New Issue
Block a user