Completed
Pull Request — master (#220)
by
unknown
18:05 queued 06:17
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.
src/Amadeus/Client/Struct/Service/StandaloneCatalogue/TravellerDetails.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@
 block discarded – undo
30 30
  */
31 31
 class TravellerDetails
32 32
 {
33
-	 /**
34
-     * @var int
35
-     */
33
+  /**
34
+   * @var int
35
+   */
36 36
     public $referenceNumber;
37 37
 
38 38
     /**
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Service/StandaloneCatalogue/FareInfo.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,6 +38,6 @@
 block discarded – undo
38 38
    
39 39
     public function __construct($paxType)
40 40
     {
41
-    	$this->valueQualifier = $paxType;
41
+     $this->valueQualifier = $paxType;
42 42
     }
43 43
 }
Please login to merge, or discard this patch.
src/Amadeus/Client/RequestOptions/ServiceStandaloneCatalogueOptions.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
  */
30 30
 class ServiceStandaloneCatalogueOptions extends Base
31 31
 {
32
-	public $passengers = [];
32
+ public $passengers = [];
33 33
 	
34
-	public $segments = [];
34
+ public $segments = [];
35 35
 	
36
-	public $pricingOptions;
36
+ public $pricingOptions;
37 37
 }
38 38
 
39 39
 
Please login to merge, or discard this patch.
src/Amadeus/Client.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1575,13 +1575,13 @@
 block discarded – undo
1575 1575
      * @throws Exception
1576 1576
      */
1577 1577
     public function serviceStandaloneCatalogue(
1578
-    		RequestOptions\ServiceStandaloneCatalogueOptions $options,
1579
-    		$messageOptions = []
1578
+      RequestOptions\ServiceStandaloneCatalogueOptions $options,
1579
+      $messageOptions = []
1580 1580
     
1581 1581
     ) {
1582
-    	$msgName = 'Service_StandaloneCatalogue';
1582
+     $msgName = 'Service_StandaloneCatalogue';
1583 1583
     
1584
-    	return $this->callMessage($msgName, $options, $messageOptions);
1584
+     return $this->callMessage($msgName, $options, $messageOptions);
1585 1585
     }
1586 1586
     
1587 1587
     /**
Please login to merge, or discard this patch.
Client/RequestOptions/Service/StandaloneCatalogue/PricingOptions.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -32,10 +32,10 @@
 block discarded – undo
32 32
  */
33 33
 class PricingOptions extends ServiceIntegratedPricingOptions
34 34
 {		
35
-	/**
36
-	 * Provide a fare basis to price with
37
-	 *
38
-	 * @var FareBasis[]
39
-	 */
40
-	public $pricingsFareBasis = [];
35
+ /**
36
+  * Provide a fare basis to price with
37
+  *
38
+  * @var FareBasis[]
39
+  */
40
+ public $pricingsFareBasis = [];
41 41
 }
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.