@@ -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 | } |
@@ -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 | |
@@ -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 | |