Completed
Pull Request — master (#220)
by Dieter
18:46 queued 10:46
created
Amadeus/Client/Struct/Service/StandaloneCatalogue/PassengerInfoGroup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     {
56 56
         $this->specificTravellerDetails = new SpecificTravellerDetails($referenceNumber);
57 57
         
58
-        if (! empty($passenger->type)) {
58
+        if (!empty($passenger->type)) {
59 59
             $this->fareInfo = new FareInfo($passenger->type);
60 60
         }
61 61
     }
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Service/StandaloneCatalogue/FlightInfo.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 
23 23
 namespace Amadeus\Client\Struct\Service\StandaloneCatalogue;
24 24
 
25
-use Amadeus\Client\RequestOptions\Fare\InformativePricing\Segment;
26 25
 use Amadeus\Client\Struct\Fare\InformativePricing13\SegmentGroup;
27 26
 use Amadeus\Client\Struct\Fare\InformativePricing13\SegmentInformation;
28 27
 use Amadeus\Client\Struct\Air\FlightTypeDetails;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     protected function loadOptionalSegmentInformation($options)
71 71
     {
72
-        if (! empty($options->operatingCompany)) {
72
+        if (!empty($options->operatingCompany)) {
73 73
             $this->flightDetails->companyDetails->operatingCompany = $options->operatingCompany;
74 74
         }
75 75
         
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
             $this->flightDetails->flightDate->setArrivalDate($options->arrivalDate);
78 78
         }
79 79
         
80
-        if (! empty($options->groupNumber)) {
80
+        if (!empty($options->groupNumber)) {
81 81
             $this->flightDetails->flightTypeDetails = new FlightTypeDetails($options->groupNumber);
82 82
         }
83 83
         
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Service/StandaloneCatalogue.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      */
66 66
     public function __construct($options)
67 67
     {
68
-        if (! is_null($options)) {
68
+        if (!is_null($options)) {
69 69
             $this->loadPassengers($options->passengers);
70 70
             
71 71
             $this->loadflightDetails($options->segments);
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         $counter = 1;
84 84
         foreach ($passengers as $passenger) {
85 85
             $this->passengerInfoGroup[] = new PassengerInfoGroup($passenger, $counter);
86
-            $counter ++;
86
+            $counter++;
87 87
         }
88 88
     }
89 89
 
Please login to merge, or discard this patch.