Completed
Push — develop ( d5d5cc...0efd33 )
by Dieter
05:58
created
src/Amadeus/Client/Session/Handler/Base.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -343,8 +343,8 @@  discard block
 block discarded – undo
343 343
      */
344 344
     protected function extractMessageVersion($fullVersionString)
345 345
     {
346
-        $secondUnderscore = strpos($fullVersionString, '_', strpos($fullVersionString, '_')+1);
347
-        $num = substr($fullVersionString, $secondUnderscore+1);
346
+        $secondUnderscore = strpos($fullVersionString, '_', strpos($fullVersionString, '_') + 1);
347
+        $num = substr($fullVersionString, $secondUnderscore + 1);
348 348
 
349 349
         return str_replace('_', '.', $num);
350 350
     }
@@ -419,11 +419,11 @@  discard block
 block discarded – undo
419 419
     {
420 420
         $this->log(
421 421
             LogLevel::INFO,
422
-            'Called ' . $messageName . ' with request: ' . $this->getSoapClient()->__getLastRequest()
422
+            'Called '.$messageName.' with request: '.$this->getSoapClient()->__getLastRequest()
423 423
         );
424 424
         $this->log(
425 425
             LogLevel::INFO,
426
-            'Response:  ' . $this->getSoapClient()->__getLastResponse()
426
+            'Response:  '.$this->getSoapClient()->__getLastResponse()
427 427
         );
428 428
     }
429 429
 
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Pnr/AddMultiElements.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
                 throw new \RuntimeException('NOT YET IMPLEMENTED');
224 224
                 break;
225 225
             default:
226
-                throw new InvalidArgumentException('Segment type ' . $segmentType . ' is not supported');
226
+                throw new InvalidArgumentException('Segment type '.$segmentType.' is not supported');
227 227
                 break;
228 228
         }
229 229
 
@@ -502,7 +502,7 @@  discard block
 block discarded – undo
502 502
                 $createdElement->frequentTravellerData = new FrequentTravellerData($element);
503 503
                 break;
504 504
             default:
505
-                throw new InvalidArgumentException('Element type ' . $elementType . ' is not supported');
505
+                throw new InvalidArgumentException('Element type '.$elementType.' is not supported');
506 506
         }
507 507
 
508 508
         if (!empty($element->references)) {
Please login to merge, or discard this patch.