@@ -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 | } |
@@ -22,7 +22,6 @@ |
||
22 | 22 | |
23 | 23 | namespace Amadeus\Client\Struct\Service\StandaloneCatalogue; |
24 | 24 | |
25 | -use Amadeus\Client\RequestOptions\Fare\InformativePricing\Segment; |
|
26 | 25 | use Amadeus\Client\Struct\Fare\InformativePricing13\SegmentGroup; |
27 | 26 | use Amadeus\Client\Struct\Fare\InformativePricing13\SegmentInformation; |
28 | 27 | use Amadeus\Client\Struct\Air\FlightTypeDetails; |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | */ |
70 | 70 | protected function loadOptionalSegmentInformation($options) |
71 | 71 | { |
72 | - if (! empty($options->operatingCompany)) { |
|
72 | + if (!empty($options->operatingCompany)) { |
|
73 | 73 | $this->flightDetails->companyDetails->operatingCompany = $options->operatingCompany; |
74 | 74 | } |
75 | 75 | |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | $this->flightDetails->flightDate->setArrivalDate($options->arrivalDate); |
78 | 78 | } |
79 | 79 | |
80 | - if (! empty($options->groupNumber)) { |
|
80 | + if (!empty($options->groupNumber)) { |
|
81 | 81 | $this->flightDetails->flightTypeDetails = new FlightTypeDetails($options->groupNumber); |
82 | 82 | } |
83 | 83 |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | */ |
66 | 66 | public function __construct($options) |
67 | 67 | { |
68 | - if (! is_null($options)) { |
|
68 | + if (!is_null($options)) { |
|
69 | 69 | $this->loadPassengers($options->passengers); |
70 | 70 | |
71 | 71 | $this->loadflightDetails($options->segments); |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | $counter = 1; |
84 | 84 | foreach ($passengers as $passenger) { |
85 | 85 | $this->passengerInfoGroup[] = new PassengerInfoGroup($passenger, $counter); |
86 | - $counter ++; |
|
86 | + $counter++; |
|
87 | 87 | } |
88 | 88 | } |
89 | 89 |