Completed
Push — develop ( d80139...722dcc )
by Dieter
07:35 queued 01:02
created
src/Amadeus/Client/Session/Handler/Base.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -447,9 +447,9 @@  discard block
 block discarded – undo
447 447
      */
448 448
     protected function extractMessageVersion($fullVersionString)
449 449
     {
450
-        $marker = strpos($fullVersionString, '_', strpos($fullVersionString, '_')+1);
450
+        $marker = strpos($fullVersionString, '_', strpos($fullVersionString, '_') + 1);
451 451
 
452
-        $num = substr($fullVersionString, $marker+1);
452
+        $num = substr($fullVersionString, $marker + 1);
453 453
 
454 454
         return str_replace('_', '.', $num);
455 455
     }
@@ -480,7 +480,7 @@  discard block
 block discarded – undo
480 480
                     'http://schemas.xmlsoap.org/wsdl/soap/'
481 481
                 );
482 482
             } else {
483
-                throw new Client\Exception('WSDL ' . $wsdlFilePath . ' could not be loaded');
483
+                throw new Client\Exception('WSDL '.$wsdlFilePath.' could not be loaded');
484 484
             }
485 485
         }
486 486
     }
@@ -567,7 +567,7 @@  discard block
 block discarded – undo
567 567
         $domDoc = null;
568 568
         $domXpath = null;
569 569
 
570
-        $importPath = realpath(dirname($wsdlPath)) . DIRECTORY_SEPARATOR . $import;
570
+        $importPath = realpath(dirname($wsdlPath)).DIRECTORY_SEPARATOR.$import;
571 571
         $wsdlContent = file_get_contents($importPath);
572 572
 
573 573
         if ($wsdlContent !== false) {
@@ -586,7 +586,7 @@  discard block
 block discarded – undo
586 586
                 );
587 587
             }
588 588
         } else {
589
-            throw new Client\Exception('WSDL ' . $importPath . ' import could not be loaded');
589
+            throw new Client\Exception('WSDL '.$importPath.' import could not be loaded');
590 590
         }
591 591
 
592 592
         if ($domXpath instanceof \DOMXPath) {
@@ -620,11 +620,11 @@  discard block
 block discarded – undo
620 620
     {
621 621
         $this->log(
622 622
             LogLevel::INFO,
623
-            'Called ' . $messageName . ' with request: ' . $this->getSoapClient($messageName)->__getLastRequest()
623
+            'Called '.$messageName.' with request: '.$this->getSoapClient($messageName)->__getLastRequest()
624 624
         );
625 625
         $this->log(
626 626
             LogLevel::INFO,
627
-            'Response:  ' . $this->getSoapClient($messageName)->__getLastResponse()
627
+            'Response:  '.$this->getSoapClient($messageName)->__getLastResponse()
628 628
         );
629 629
     }
630 630
 
Please login to merge, or discard this patch.