We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5063d2 commit 33643eeCopy full SHA for 33643ee
app/Livewire/ProjectOverview.php
@@ -42,7 +42,7 @@ public function currentBudgetPlan(): ?LegacyBudgetPlan
42
#[Computed]
43
public function userCommittees(): array
44
{
45
- return app(AuthService::class)->userCommittees()->toArray();
+ return resolve(AuthService::class)->userCommittees()->toArray();
46
}
47
48
@@ -70,7 +70,7 @@ public function projectsByCommittee(): Collection
70
if (empty($committees)) {
71
return [];
72
73
- $query->where(function ($q) use ($committees) {
+ $query->where(function ($q) use ($committees): void {
74
$q->whereIn('org', $committees)
75
->orWhereNull('org')
76
->orWhere('org', '');
0 commit comments