Completed
Push — master ( e40dbf...ac269e )
by Dieter
16:24 queued 06:25
created
src/Amadeus/Client/Session/Handler/SoapHeader4.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -366,10 +366,10 @@  discard block
 block discarded – undo
366 366
     {
367 367
         return $xml = '<oas:Security xmlns:oas="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
368 368
 	<oas:UsernameToken xmlns:oas1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" oas1:Id="UsernameToken-1">
369
-		<oas:Username>' . $originator . '</oas:Username>
370
-		<oas:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">' . $nonce . '</oas:Nonce>
371
-		<oas:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">' . $pwDigest . '</oas:Password>
372
-		<oas1:Created>' . $creationTimeString . '</oas1:Created>
369
+		<oas:Username>' . $originator.'</oas:Username>
370
+		<oas:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">' . $nonce.'</oas:Nonce>
371
+		<oas:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">' . $pwDigest.'</oas:Password>
372
+		<oas1:Created>' . $creationTimeString.'</oas1:Created>
373 373
 	</oas:UsernameToken>
374 374
 </oas:Security>';
375 375
     }
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
     {
385 385
         return substr(
386 386
             sha1(
387
-                $nonceBase . $creationString,
387
+                $nonceBase.$creationString,
388 388
                 true
389 389
             ),
390 390
             0,
@@ -413,7 +413,7 @@  discard block
 block discarded – undo
413 413
      */
414 414
     protected function generatePasswordDigest($password, $creationString, $messageNonce)
415 415
     {
416
-        return base64_encode(sha1($messageNonce . $creationString . sha1($password, true), true));
416
+        return base64_encode(sha1($messageNonce.$creationString.sha1($password, true), true));
417 417
     }
418 418
 
419 419
     /**
@@ -424,7 +424,7 @@  discard block
 block discarded – undo
424 424
     protected function createDateTimeStringForAuth($creationDateTime, $micro)
425 425
     {
426 426
         $creationDateTime->setTimezone(new \DateTimeZone('UTC'));
427
-        return $creationDateTime->format("Y-m-d\TH:i:s:") . $micro . 'Z';
427
+        return $creationDateTime->format("Y-m-d\TH:i:s:").$micro.'Z';
428 428
     }
429 429
 
430 430
     /**
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Pnr/NameChange/TravellerNameInfo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Amadeus/Client/ResponseHandler/StandardResponseHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -341,7 +341,7 @@
 block discarded – undo
341 341
         return implode(
342 342
             ' - ',
343 343
             array_map(
344
-                function ($item) {
344
+                function($item) {
345 345
                     return trim($item->nodeValue);
346 346
                 },
347 347
                 iterator_to_array($errorTextNodeList)
Please login to merge, or discard this patch.
Amadeus/Client/RequestOptions/TicketRepricePnrWithBookingClassOptions.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
 
157 157
 
158 158
     /**
159
-         * This option allows you to override the currency of the office.
159
+     * This option allows you to override the currency of the office.
160 160
      *
161 161
      * @var string
162 162
      */
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Fare/PricePnr13/FormOfPayment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/DocRefund/StatusDetails.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     const INDICATOR_NOT_REPORTED_REFUND = "NRP";
40 40
     const INDICATOR_NO_SHOW = "NS";
41 41
     const INDICATOR_ZERO_REFUND = "NUL";
42
-    const INDICATOR_HOLD_FOR_FUTURE_USE= "RTF";
42
+    const INDICATOR_HOLD_FOR_FUTURE_USE = "RTF";
43 43
     const INDICATOR_TAXES = "TAX";
44 44
 
45 45
 
Please login to merge, or discard this patch.
src/Amadeus/Client/RequestOptions/Fare/MasterPricer/MultiTicketWeights.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -33,21 +33,21 @@
 block discarded – undo
33 33
 class MultiTicketWeights extends LoadParamsFromArray
34 34
 {
35 35
     /**
36
-    * Recommendations for outbound (OWO)
37
-    *
38
-    * @var int
39
-    */
36
+     * Recommendations for outbound (OWO)
37
+     *
38
+     * @var int
39
+     */
40 40
     public $oneWayOutbound;
41 41
     /**
42
-    * Recommendations for inbound (OWI)
43
-    *
44
-    * @var int
45
-    */
42
+     * Recommendations for inbound (OWI)
43
+     *
44
+     * @var int
45
+     */
46 46
     public $oneWayInbound;
47 47
     /**
48
-    * Recommendations for complete journey (RT)
49
-    *
50
-    * @var int
51
-    */
48
+     * Recommendations for complete journey (RT)
49
+     *
50
+     * @var int
51
+     */
52 52
     public $returnTrip;
53 53
 }
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Air/MultiAvailability/RequestSection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Fare/MasterPricer/FareOptions.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -165,6 +165,9 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.