@@ -4,10 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use GuzzleHttp\Client as GuzzleClient; |
6 | 6 | use GuzzleHttp\Subscriber\Retry\RetrySubscriber; |
7 | -use JMS\Serializer\Serializer; |
|
8 | -use JMS\Serializer\SerializerBuilder; |
|
9 | 7 | use Xotelia\Endpoint\Booking; |
10 | -use Xotelia\Model\Booking as BookingModel; |
|
11 | 8 | |
12 | 9 | class Xotelia |
13 | 10 | { |
@@ -357,7 +357,7 @@ |
||
357 | 357 | */ |
358 | 358 | public function getRoomByOrder($order) |
359 | 359 | { |
360 | - return $this->rooms->filter(function (Room $room) use ($order) { |
|
360 | + return $this->rooms->filter(function(Room $room) use ($order) { |
|
361 | 361 | return $room->getOrder() === $order; |
362 | 362 | })->first(); |
363 | 363 | } |