@@ -181,7 +181,7 @@ |
||
| 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 | */ |
@@ -27,7 +27,6 @@ |
||
| 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; |
@@ -55,7 +55,7 @@ |
||
| 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 | } |
@@ -64,7 +64,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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); |
@@ -27,7 +27,6 @@ |
||
| 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 |