fix: incorrect nesting of return statement
This commit is contained in:
@@ -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