Skip to content

Commit 33643ee

Browse files
committed
fix: rector
1 parent a5063d2 commit 33643ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Livewire/ProjectOverview.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function currentBudgetPlan(): ?LegacyBudgetPlan
4242
#[Computed]
4343
public function userCommittees(): array
4444
{
45-
return app(AuthService::class)->userCommittees()->toArray();
45+
return resolve(AuthService::class)->userCommittees()->toArray();
4646
}
4747

4848
#[Computed]
@@ -70,7 +70,7 @@ public function projectsByCommittee(): Collection
7070
if (empty($committees)) {
7171
return [];
7272
}
73-
$query->where(function ($q) use ($committees) {
73+
$query->where(function ($q) use ($committees): void {
7474
$q->whereIn('org', $committees)
7575
->orWhereNull('org')
7676
->orWhere('org', '');

0 commit comments

Comments
 (0)