Completed
Push — master ( d17808...738038 )
by Dieter
07:30
created
src/Amadeus/Client/RequestCreator/Base.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -329,7 +329,7 @@
 block discarded – undo
329 329
     protected function checkMessageIsInWsdl($messageName)
330 330
     {
331 331
         if (!array_key_exists($messageName, $this->messagesAndVersions)) {
332
-            throw new InvalidMessageException('Message "' . $messageName . '" is not in WDSL');
332
+            throw new InvalidMessageException('Message "'.$messageName.'" is not in WDSL');
333 333
         }
334 334
     }
335 335
 
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Pnr/DisplayHistory/PredicateElementType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      * Original Issue / Issue in Exchange For element
59 59
      */
60 60
     const SEGNAME_ORIGINAL_ISSUE = "FO";
61
-    const SEGNAME_FORM_OF_PAYMENT= "FP";
61
+    const SEGNAME_FORM_OF_PAYMENT = "FP";
62 62
     const SEGNAME_FERRY = "FRR";
63 63
     const SEGNAME_MISCELLANEOUS_TICKETING_INFORMATION = "FS";
64 64
     const SEGNAME_TOUR_CODE = "FT";
Please login to merge, or discard this patch.
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.