Skip to content

Commit

Permalink
Fix style issue (#422)
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksandr Kalugin <xkalugin@gmail.com>
  • Loading branch information
gregsparrow and Aleksandr Kalugin committed Dec 16, 2020
1 parent 75674fb commit e746900
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
18 changes: 9 additions & 9 deletions src/Amadeus/Client/Struct/Fare/MasterPricerExpertSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,15 @@ protected function loadOptions($options)
$options->maxLayoverPerConnectionMinutes
)) {
$this->travelFlightInfo = new MasterPricer\TravelFlightInfo(
$options->cabinClass,
$options->cabinOption,
$options->requestedFlightTypes,
$options->airlineOptions,
$options->progressiveLegsMin,
$options->progressiveLegsMax,
$options->maxLayoverPerConnectionHours,
$options->maxLayoverPerConnectionMinutes
);
$options->cabinClass,
$options->cabinOption,
$options->requestedFlightTypes,
$options->airlineOptions,
$options->progressiveLegsMin,
$options->progressiveLegsMax,
$options->maxLayoverPerConnectionHours,
$options->maxLayoverPerConnectionMinutes
);
}

if (!empty($options->priceToBeat)) {
Expand Down
3 changes: 2 additions & 1 deletion src/Amadeus/Client/Struct/Pnr/Retrieve/RetrievalFacts.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ public function __construct($options)
{
$this->retrieve = new Retrieve(
$options->retrievalType,
$options->officeId, $options->options
$options->officeId,
$options->options
);

if ($this->checkAnyNotEmpty($options->accountNumber)) {
Expand Down
2 changes: 1 addition & 1 deletion src/Amadeus/Client/Struct/Ticket/RetrieveListOfTSM.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class RetrieveListOfTSM extends BaseWsMessage
public function __construct(TicketRetrieveListOfTSMOptions $params)
{
$this->deadIndicator = new DeadIndicator(
new StatusDetails(StatusDetails::IND_DEAD, 0)
new StatusDetails(StatusDetails::IND_DEAD, 0)
);
}
}

0 comments on commit e746900

Please sign in to comment.