chore: fix phpstan errors
This commit is contained in:
1 parent
4e925171b3
commit
0fcecc9c58
109 files changed
+510
-429
No files matched your search
@@ -220,7 +220,7 @@ class Booking
|
||||
public function getInsuranceForParticipant(int $participantIndex): ?Insurance
|
||||
{
|
||||
foreach ($this->insurances as $insurance) {
|
||||
if (in_array($participantIndex, $insurance->mapping ?? [], true)) {
|
||||
if (in_array($participantIndex, $insurance->mapping, true)) {
|
||||
return $insurance;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user