Completed
Pull Request — master (#220)
by
unknown
22:15 queued 10:53
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@
 block discarded – undo
27 27
 use Amadeus\Client\RequestOptions\Service\FrequentFlyer;
28 28
 use Amadeus\Client\RequestOptions\ServiceIntegratedCatalogueOptions;
29 29
 use Amadeus\Client\RequestOptions\ServiceIntegratedPricingOptions;
30
-use Amadeus\Client\RequestOptions\ServiceStandaloneCatalogueOptions;
31 30
 use Amadeus\Client\Struct\Fare\BasePricingMessage;
32 31
 use Amadeus\Client\Struct\Fare\PricePnr13\CarrierInformation;
33 32
 use Amadeus\Client\Struct\Fare\PricePnr13\Currency;
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
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public function __construct($options)
66 66
     {
67
-        if (! is_null($options)) {
67
+        if (!is_null($options)) {
68 68
             $this->loadPassengers($options->passengers);
69 69
             
70 70
             $this->loadflightDetails($options->segments);
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         $counter = 1;
83 83
         foreach ($passengers as $passenger) {
84 84
             $this->passengerInfoGroup[] = new PassengerInfoGroup($passenger, $counter);
85
-            $counter ++;
85
+            $counter++;
86 86
         }
87 87
     }
88 88
 
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     protected function loadPricingOptions($pricingOptions)
105 105
     {
106
-        if (! ($pricingOptions instanceof ServiceIntegratedPricingOptions)) {
106
+        if (!($pricingOptions instanceof ServiceIntegratedPricingOptions)) {
107 107
             $pricingOptions = new ServiceIntegratedPricingOptions();
108 108
         }
109 109
         $this->pricingOption = IntegratedPricing::loadPricingOptions($pricingOptions);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@
 block discarded – undo
27 27
 use Amadeus\Client\RequestOptions\ServiceIntegratedPricingOptions;
28 28
 use Amadeus\Client\RequestOptions\ServiceStandaloneCatalogueOptions;
29 29
 use Amadeus\Client\Struct\Service\StandaloneCatalogue\PassengerInfoGroup;
30
-use Amadeus\Client\Struct\Service\StandaloneCatalogue\FlightInfo;
31 30
 
32 31
 /**
33 32
  * StandaloneCatalogue
Please login to merge, or discard this patch.