Skip to content

Commit

Permalink
remove nullsafe method on non-null
Browse files Browse the repository at this point in the history
  • Loading branch information
jvogt23 committed Aug 17, 2024
1 parent 191d5c2 commit 98b20bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Nova/Metrics/ActiveAttendanceBreakdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function calculate(Request $request): PartitionResult
->where('attendable_id', $resourceId)
->where(
'attendable_type',
$this->attendableType ?? $request?->model()?->getMorphClass()
$this->attendableType ?? $request->model()?->getMorphClass()
);
}

Expand Down

0 comments on commit 98b20bb

Please sign in to comment.