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