You've already forked Epicnabbo-Catalogus-Updated-Daily
🆙 Fix more errors php stan 🆙
This commit is contained in:
@@ -13,7 +13,7 @@ class LeaderboardController extends Controller
|
||||
{
|
||||
protected array $staffIds = [];
|
||||
|
||||
public function __construct(private readonly StaffService $staffService)
|
||||
public function __construct(private readonly StaffService $staffService): void
|
||||
{
|
||||
$this->staffIds = $this->staffService->fetchEmployeeIds();
|
||||
}
|
||||
@@ -44,7 +44,7 @@ class LeaderboardController extends Controller
|
||||
]);
|
||||
}
|
||||
|
||||
private function retrieveSettings($column)
|
||||
private function retrieveSettings(string $column): \Illuminate\Database\Eloquent\Collection
|
||||
{
|
||||
return UserSetting::select('user_id', $column)
|
||||
->whereNotIn('user_id', $this->staffIds)
|
||||
|
||||
Reference in New Issue
Block a user