Completed
Branch master (74550a)
by Rémy
03:41
created
src/Xotelia.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,10 +4,7 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/Model/Booking.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -357,7 +357,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.