| @@ -169,7 +169,7 @@ | ||
| 169 | 169 | * | 
| 170 | 170 | * @param int $identifier | 
| 171 | 171 | * @param string|null $type | 
| 172 | - * @param string|int|null $infantIndicator | |
| 172 | + * @param integer|null $infantIndicator | |
| 173 | 173 | */ | 
| 174 | 174 | public function __construct($identifier, $type = null, $infantIndicator = null) | 
| 175 | 175 |      { | 
| @@ -133,7 +133,7 @@ | ||
| 133 | 133 | /** | 
| 134 | 134 | * FormOfPayment constructor. | 
| 135 | 135 | * | 
| 136 | - * @param string|FormOfPaymentOptions $options self::TYPE_* or object with FOP options | |
| 136 | + * @param FormOfPaymentOptions $options self::TYPE_* or object with FOP options | |
| 137 | 137 | */ | 
| 138 | 138 | public function __construct($options) | 
| 139 | 139 |      { | 
| @@ -182,7 +182,7 @@ | ||
| 182 | 182 | * Keys are option types (RequestOptions::OPTION_TYPE_*), | 
| 183 | 183 | * values are option arguments. | 
| 184 | 184 | * | 
| 185 | - * @param $availabilityOptions | |
| 185 | + * @param string[] $availabilityOptions | |
| 186 | 186 | */ | 
| 187 | 187 | protected function loadAvailabilityOptions($availabilityOptions) | 
| 188 | 188 |      { | 
| @@ -165,6 +165,9 @@ | ||
| 165 | 165 | $this->pricingTickInfo->pricingTicketing->priceType[] = $type; | 
| 166 | 166 | } | 
| 167 | 167 | |
| 168 | + /** | |
| 169 | + * @param MPTicketingPriceScheme $ticketingPriceScheme | |
| 170 | + */ | |
| 168 | 171 | protected function loadTicketingPriceScheme($ticketingPriceScheme) | 
| 169 | 172 |      { | 
| 170 | 173 | $priceScheme = new TicketingPriceScheme(); | 
| @@ -134,7 +134,7 @@ | ||
| 134 | 134 | public $referenceForDataElement; | 
| 135 | 135 | |
| 136 | 136 | /** | 
| 137 | - * @param Element|string $element Either an element or an element name | |
| 137 | + * @param Element $element Either an element or an element name | |
| 138 | 138 | * @param int $tattoo Unique tattoo number for this element | 
| 139 | 139 | * @throws \ReflectionException | 
| 140 | 140 | */ | 
| @@ -516,7 +516,7 @@ | ||
| 516 | 516 | /** | 
| 517 | 517 | * Check is called message is not Security_Authenticate. | 
| 518 | 518 | * | 
| 519 | - * @param $messageName | |
| 519 | + * @param string $messageName | |
| 520 | 520 | * @return bool | 
| 521 | 521 | */ | 
| 522 | 522 | protected function isNotSecurityAuthenticateMessage($messageName) | 
| @@ -114,7 +114,7 @@ | ||
| 114 | 114 | } | 
| 115 | 115 | |
| 116 | 116 | /** | 
| 117 | - * @param FareMasterPricerExSearch|FareMasterPricerCalendarOptions|TicketAtcShopperMpExSearchOptions $options | |
| 117 | + * @param FareMasterPricerCalendarOptions $options | |
| 118 | 118 | */ | 
| 119 | 119 | protected function loadOptions($options) | 
| 120 | 120 |      { | 
| @@ -26,7 +26,6 @@ | ||
| 26 | 26 | use Amadeus\Client\RequestOptions\Fare\MPItinerary; | 
| 27 | 27 | use Amadeus\Client\RequestOptions\FareMasterPricerCalendarOptions; | 
| 28 | 28 | use Amadeus\Client\RequestOptions\FareMasterPricerExSearchOptions; | 
| 29 | -use Amadeus\Client\RequestOptions\TicketAtcShopperMpTbSearchOptions; | |
| 30 | 29 | use Amadeus\Client\Struct\Fare\MasterPricer; | 
| 31 | 30 | |
| 32 | 31 | /** | 
| @@ -238,7 +238,7 @@ discard block | ||
| 238 | 238 | * @param string $messageName | 
| 239 | 239 | * @param string $lastResponse | 
| 240 | 240 | * @param array $messageOptions | 
| 241 | - * @param mixed $result | |
| 241 | + * @param SendResult $result | |
| 242 | 242 | */ | 
| 243 | 243 | abstract protected function handlePostMessage($messageName, $lastResponse, $messageOptions, $result); | 
| 244 | 244 | |
| @@ -327,7 +327,7 @@ discard block | ||
| 327 | 327 | /** | 
| 328 | 328 | * Get the version number active in the WSDL for the given message | 
| 329 | 329 | * | 
| 330 | - * @param $messageName | |
| 330 | + * @param string $messageName | |
| 331 | 331 | * @return float|string|null | 
| 332 | 332 | */ | 
| 333 | 333 | protected function getActiveVersionFor($messageName) | 
| @@ -346,7 +346,7 @@ discard block | ||
| 346 | 346 | /** | 
| 347 | 347 | * Get the WSDL ID for the given message | 
| 348 | 348 | * | 
| 349 | - * @param $messageName | |
| 349 | + * @param string $messageName | |
| 350 | 350 | * @return string|null | 
| 351 | 351 | */ | 
| 352 | 352 | protected function getWsdlIdFor($messageName) | 
| @@ -34,7 +34,7 @@ discard block | ||
| 34 | 34 | * Extracts the message content from the soap envelope (i.e. everything under the soap body) | 
| 35 | 35 | * | 
| 36 | 36 | * @param string $soapResponse | 
| 37 | - * @return string|null | |
| 37 | + * @return boolean|string | |
| 38 | 38 | */ | 
| 39 | 39 | public function extract($soapResponse) | 
| 40 | 40 |      { | 
| @@ -52,9 +52,9 @@ discard block | ||
| 52 | 52 | /** | 
| 53 | 53 | * Get substring between two strings | 
| 54 | 54 | * | 
| 55 | - * @param $string | |
| 56 | - * @param $start | |
| 57 | - * @param $end | |
| 55 | + * @param string $string | |
| 56 | + * @param string $start | |
| 57 | + * @param string $end | |
| 58 | 58 | * @return bool|string | 
| 59 | 59 | */ | 
| 60 | 60 | private function getStringBetween($string, $start, $end) |