fix: incorrect nesting of return statement
This commit is contained in:
@@ -94,10 +94,10 @@ class Booking
|
||||
if (in_array($participantIndex, $room->mapping)) {
|
||||
return $room;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public function getPriceForParticipant(int $participantIndex): float
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user