@@ -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 | */ |
@@ -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 | } |
@@ -26,7 +26,6 @@ |
||
| 26 | 26 | use Amadeus\Client\RequestOptions\Fare\InformativePricing\Segment; |
| 27 | 27 | use Amadeus\Client\RequestOptions\ServiceStandaloneCatalogueOptions; |
| 28 | 28 | use Amadeus\Client\Struct\Service\StandaloneCatalogue\PassengerInfoGroup; |
| 29 | -use Amadeus\Client\Struct\Service\StandaloneCatalogue\FlightInfo; |
|
| 30 | 29 | use Amadeus\Client\RequestOptions\Service\StandaloneCatalogue\PricingOptions; |
| 31 | 30 | |
| 32 | 31 | /** |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | */ |
| 64 | 64 | public function __construct($options) |
| 65 | 65 | { |
| 66 | - if (! is_null($options)) { |
|
| 66 | + if (!is_null($options)) { |
|
| 67 | 67 | $this->loadPassengers($options->passengers); |
| 68 | 68 | |
| 69 | 69 | $this->loadflightDetails($options->segments); |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | $counter = 1; |
| 82 | 82 | foreach ($passengers as $passenger) { |
| 83 | 83 | $this->passengerInfoGroup[] = new PassengerInfoGroup($passenger, $counter); |
| 84 | - $counter ++; |
|
| 84 | + $counter++; |
|
| 85 | 85 | } |
| 86 | 86 | } |
| 87 | 87 | |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | */ |
| 103 | 103 | protected function loadPricingOptions($pricingOptions) |
| 104 | 104 | { |
| 105 | - if (! ($pricingOptions instanceof PricingOptions)) { |
|
| 105 | + if (!($pricingOptions instanceof PricingOptions)) { |
|
| 106 | 106 | $pricingOptions = new PricingOptions(); |
| 107 | 107 | } |
| 108 | 108 | $this->pricingOption = IntegratedPricing::loadPricingOptions($pricingOptions); |