Completed
Pull Request — master (#220)
by
unknown
16:10 queued 04:46
created
src/Amadeus/Client/Struct/Service/IntegratedPricing.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
 
182 182
     /**
183 183
      * @param string $overrideCode
184
-     * @param string|array|null $options
184
+     * @param string $options
185 185
      * @param PaxSegRef[] $references
186 186
      * @return PricingOption[]
187 187
      */
Please login to merge, or discard this patch.
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.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
 use Amadeus\Client\RequestOptions\Fare\InformativePricing\Segment;
27 27
 use Amadeus\Client\RequestOptions\ServiceStandaloneCatalogueOptions;
28 28
 use Amadeus\Client\Struct\Service\StandaloneCatalogue\PassengerInfoGroup;
29
-use Amadeus\Client\Struct\Service\StandaloneCatalogue\FlightInfo;
30 29
 use Amadeus\Client\RequestOptions\Service\StandaloneCatalogue\PricingOptions;
31 30
 
32 31
 /**
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function __construct($options)
65 65
     {
66
-        if (! is_null($options)) {
66
+        if (!is_null($options)) {
67 67
             $this->loadPassengers($options->passengers);
68 68
             
69 69
             $this->loadflightDetails($options->segments);
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
         $counter = 1;
82 82
         foreach ($passengers as $passenger) {
83 83
             $this->passengerInfoGroup[] = new PassengerInfoGroup($passenger, $counter);
84
-            $counter ++;
84
+            $counter++;
85 85
         }
86 86
     }
87 87
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      */
103 103
     protected function loadPricingOptions($pricingOptions)
104 104
     {
105
-        if (! ($pricingOptions instanceof PricingOptions)) {
105
+        if (!($pricingOptions instanceof PricingOptions)) {
106 106
             $pricingOptions = new PricingOptions();
107 107
         }
108 108
         $this->pricingOption = IntegratedPricing::loadPricingOptions($pricingOptions);
Please login to merge, or discard this patch.