fix: incorrect nesting of return statement
This commit is contained in:
1 parent
3e50355553
commit
485d37518f
1 file changed
+2
-2
@@ -94,9 +94,9 @@ class Booking
|
||||
if (in_array($participantIndex, $room->mapping)) {
|
||||
return $room;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public function getPriceForParticipant(int $participantIndex): float
|
||||
|
||||
Reference in new issue
Block a user