Test Failed
Pull Request — master (#220)
by
unknown
11:53 queued 01:42
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   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,8 +74,8 @@
 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(
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Service/StandaloneCatalogue.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@  discard block
 block discarded – undo
40 40
 class StandaloneCatalogue extends BaseWsMessage
41 41
 {
42 42
      /**
43
-     * @var passengerInfoGroup[]
44
-     */
43
+      * @var passengerInfoGroup[]
44
+      */
45 45
     public $passengerInfoGroup = [];
46 46
 
47 47
     /**
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     public function __construct($options)
63 63
     {
64 64
         if (!is_null($options)) {
65
-           	$this->loadPassengers($options->passengers);
65
+            $this->loadPassengers($options->passengers);
66 66
            			
67 67
             $this->loadflightDetails($options->segments);
68 68
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     protected function loadPassengers($passengers)
77 77
     {
78 78
         $counter = 1;
79
-		foreach ($passengers as $passenger) {
79
+  foreach ($passengers as $passenger) {
80 80
             $this->passengerInfoGroup[] = new PassengerInfoGroup($passenger, $counter);
81 81
             $counter++;
82 82
         }
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -26,9 +26,7 @@
 block discarded – undo
26 26
 use Amadeus\Client\RequestOptions\Service\StandaloneCatalogue\Passenger;
27 27
 use Amadeus\Client\RequestOptions\Fare\InformativePricing\Segment;
28 28
 use Amadeus\Client\RequestOptions\ServiceStandaloneCatalogueOptions;
29
-
30 29
 use Amadeus\Client\Struct\Service\StandaloneCatalogue\PassengerInfoGroup;
31
-use Amadeus\Client\Struct\Service\StandaloneCatalogue\FlightInfo;
32 30
 use Amadeus\Client\RequestOptions\Service\StandaloneCatalogue\PricingOptions;
33 31
 
34 32
 /**
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.