@@ -237,7 +237,7 @@ |
||
| 237 | 237 | $errorMessage = (array_key_exists($errorCode, $recognizedErrors)) ? $recognizedErrors[$errorCode] : ''; |
| 238 | 238 | |
| 239 | 239 | if ($errorMessage === '') { |
| 240 | - $errorMessage = "PROCESS E-TICKET ERROR '" . $errorCode . "' (Error message unavailable)"; |
|
| 240 | + $errorMessage = "PROCESS E-TICKET ERROR '".$errorCode."' (Error message unavailable)"; |
|
| 241 | 241 | } |
| 242 | 242 | |
| 243 | 243 | return $errorMessage; |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | |
| 39 | 39 | public function __construct($fareQualifier, $rateCategory) |
| 40 | 40 | { |
| 41 | - $this->fareQualifier = (string)$fareQualifier; |
|
| 42 | - $this->rateCategory = (string)$rateCategory; |
|
| 41 | + $this->fareQualifier = (string) $fareQualifier; |
|
| 42 | + $this->rateCategory = (string) $rateCategory; |
|
| 43 | 43 | } |
| 44 | 44 | } |
@@ -35,6 +35,6 @@ |
||
| 35 | 35 | |
| 36 | 36 | public function __construct($otherCompany) |
| 37 | 37 | { |
| 38 | - $this->otherCompany = (string)$otherCompany; |
|
| 38 | + $this->otherCompany = (string) $otherCompany; |
|
| 39 | 39 | } |
| 40 | 40 | } |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | |
| 41 | 41 | public function __construct(ItineraryInfo $itineraryInfo) |
| 42 | 42 | { |
| 43 | - $this->origin = (string)$itineraryInfo->origin; |
|
| 44 | - $this->destination = (string)$itineraryInfo->destination; |
|
| 43 | + $this->origin = (string) $itineraryInfo->origin; |
|
| 44 | + $this->destination = (string) $itineraryInfo->destination; |
|
| 45 | 45 | } |
| 46 | 46 | } |
@@ -41,8 +41,8 @@ |
||
| 41 | 41 | |
| 42 | 42 | public function __construct(\DateTime $dateTime) |
| 43 | 43 | { |
| 44 | - $this->year = (int)$dateTime->format('Y'); |
|
| 45 | - $this->month = (int)$dateTime->format('m'); |
|
| 46 | - $this->day = (int)$dateTime->format('d'); |
|
| 44 | + $this->year = (int) $dateTime->format('Y'); |
|
| 45 | + $this->month = (int) $dateTime->format('m'); |
|
| 46 | + $this->day = (int) $dateTime->format('d'); |
|
| 47 | 47 | } |
| 48 | 48 | } |