Skip to content

Commit

Permalink
fix style errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Cooper committed May 12, 2020
1 parent ff9079b commit b4d6c2d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
* @package Amadeus\Client\RequestOptions\Pnr\Element
* @author Dieter Devlieghere <dermikagh@gmail.com>
*/


class FareMiscellaneousInformation extends Element
{
const PAXTYPE_INFANT_WITHOUT_SEAT = 766;
Expand Down Expand Up @@ -72,4 +70,5 @@ class FareMiscellaneousInformation extends Element
* @var string
*/
public $freeText;

}
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ protected function loadElement($element, $elementType)
break;
case 'FareMiscellaneousInformation':
/** @var Element\FareMiscellaneousInformation $element */
$this->fareElement = new FareElement($element->indicator,$element->passengerType,$element->freeText,$element->officeId);
$this->fareElement = new FareElement($element->indicator, $element->passengerType, $element->freeText, $element->officeId);
break;
default:
throw new InvalidArgumentException('Element type '.$elementType.' is not supported');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ class FareElement
*/
public $freeTextLong;

public function __construct($generalIndicator,$passengerType,$freeTextLong,$officeId = null)
public function __construct($generalIndicator, $passengerType, $freeTextLong, $officeId = null)
{
$this->generalIndicator = $generalIndicator;
$this->passengerType = $passengerType;
$this->freeTextLong = $freeTextLong;
if($officeId){
if ($officeId) {
$this->officeId = $officeId;
}

}

}

0 comments on commit b4d6c2d

Please sign in to comment.