Completed
Push — develop ( d80139...722dcc )
by Dieter
07:35 queued 01:02
created
src/Amadeus/Client/Session/Handler/Base.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
      * @param string $messageName
300 300
      * @param string $lastResponse
301 301
      * @param array $messageOptions
302
-     * @param mixed $result
302
+     * @param SendResult $result
303 303
      */
304 304
     protected abstract function handlePostMessage($messageName, $lastResponse, $messageOptions, $result);
305 305
 
@@ -490,7 +490,7 @@  discard block
 block discarded – undo
490 490
     /**
491 491
      * Get the version number active in the WSDL for the given message
492 492
      *
493
-     * @param $messageName
493
+     * @param string $messageName
494 494
      * @return float|string|null
495 495
      */
496 496
     protected function getActiveVersionFor($messageName)
@@ -509,7 +509,7 @@  discard block
 block discarded – undo
509 509
     /**
510 510
      * Get the WSDL ID for the given message
511 511
      *
512
-     * @param $messageName
512
+     * @param string $messageName
513 513
      * @return string|null
514 514
      */
515 515
     protected function getWsdlIdFor($messageName)
Please login to merge, or discard this 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.