Test Failed
Pull Request — master (#220)
by
unknown
10:05
created
src/Amadeus/Client/Struct/Service/IntegratedPricing.php 2 patches
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.
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -74,8 +74,8 @@  discard block
 block discarded – undo
74 74
         $priceOptions = [];
75 75
 
76 76
         $priceOptions = self::mergeOptions(
77
-        		$priceOptions,
78
-        		self::makePricingOptionFareBasisOverride($options->pricingsFareBasis)
77
+          $priceOptions,
78
+          self::makePricingOptionFareBasisOverride($options->pricingsFareBasis)
79 79
         );
80 80
         
81 81
         $priceOptions = self::mergeOptions(
@@ -168,28 +168,28 @@  discard block
 block discarded – undo
168 168
      */
169 169
     protected static function makePricingOptionFareBasisOverride($pricingsFareBasis)
170 170
     {
171
-    	$opt = [];
171
+     $opt = [];
172 172
     
173
-    	if ($pricingsFareBasis !== null) {
174
-    		foreach ($pricingsFareBasis as $pricingFareBasis) {
175
-    			$po = new PricingOptionGroup(PricingOptionKey::OPTION_FARE_BASIS_SIMPLE_OVERRIDE);
173
+     if ($pricingsFareBasis !== null) {
174
+      foreach ($pricingsFareBasis as $pricingFareBasis) {
175
+       $po = new PricingOptionGroup(PricingOptionKey::OPTION_FARE_BASIS_SIMPLE_OVERRIDE);
176 176
     
177
-    			//Support for legacy fareBasisPrimaryCode to be removed when breaking BC:
178
-    			$po->optionDetail = new OptionDetail(
179
-    					$pricingFareBasis->fareBasisPrimaryCode.$pricingFareBasis->fareBasisCode
180
-    			);
177
+       //Support for legacy fareBasisPrimaryCode to be removed when breaking BC:
178
+       $po->optionDetail = new OptionDetail(
179
+         $pricingFareBasis->fareBasisPrimaryCode.$pricingFareBasis->fareBasisCode
180
+       );
181 181
     
182
-    			//Support for legacy segmentReference to be removed when breaking BC:
183
-    			$po->paxSegTstReference = new PaxSegTstReference(
184
-    					$pricingFareBasis->references,
185
-    					$pricingFareBasis->segmentReference
186
-    			);
182
+       //Support for legacy segmentReference to be removed when breaking BC:
183
+       $po->paxSegTstReference = new PaxSegTstReference(
184
+         $pricingFareBasis->references,
185
+         $pricingFareBasis->segmentReference
186
+       );
187 187
     
188
-    			$opt[] = $po;
189
-    		}
190
-    	}
188
+       $opt[] = $po;
189
+      }
190
+     }
191 191
     
192
-    	return $opt;
192
+     return $opt;
193 193
     }
194 194
     
195 195
 
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.