Test Failed
Pull Request — master (#220)
by
unknown
08:55
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.
Client/Struct/Service/StandaloneCatalogue/SpecificTravellerDetails.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      * segmentControlDetails constructor.
40 40
      *
41 41
      * @param int $referenceNumber
42
-      */
42
+     */
43 43
     public function __construct($referenceNumber)
44 44
     {
45 45
         $this->travellerDetails = new TravellerDetails(
Please login to merge, or discard this patch.
Amadeus/Client/Struct/Service/StandaloneCatalogue/PassengerInfoGroup.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      */
52 52
     public function __construct($passenger, $referenceNumber)
53 53
     {    	
54
-    	$this->specificTravellerDetails = new SpecificTravellerDetails($referenceNumber);
54
+     $this->specificTravellerDetails = new SpecificTravellerDetails($referenceNumber);
55 55
 
56 56
         if (!empty($passenger->type)) {
57 57
             $this->fareInfo = new FareInfo($passenger->type);
Please login to merge, or discard this patch.
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,6 @@
 block discarded – undo
47 47
      * PassengersGroup constructor.
48 48
      *
49 49
      * @param Passenger $passenger
50
-     * @param int $group
51 50
      */
52 51
     public function __construct($passenger, $referenceNumber)
53 52
     {    	
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/Struct/Service/IntegratedPricing/PricingOptionKey.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
  */
31 31
 class PricingOptionKey
32 32
 {
33
-	const OPTION_FARE_BASIS_SIMPLE_OVERRIDE = "FBA";
33
+ const OPTION_FARE_BASIS_SIMPLE_OVERRIDE = "FBA";
34 34
     const OVERRIDE_ACCOUNT_CODE = "ACC";
35 35
     const OVERRIDE_PRICING_ALL_SERVICES = "ALL";
36 36
     const OVERRIDE_AWARD = "AWD";
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.
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
 class PricingOptions extends ServiceIntegratedPricingOptions
33 33
 {
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.
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.