Completed
Push — master ( 48ffab...c997a0 )
by Bohuslav
03:48
created
src/Uri.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
         $port     = $this->getPort();
199 199
         $userInfo = $this->getUserInfo();
200 200
 
201
-        return ($userInfo ? $userInfo. '@' : '') . $this->getHost() . ($port ? ':' . $port : '');
201
+        return ($userInfo ? $userInfo . '@' : '') . $this->getHost() . ($port ? ':' . $port : '');
202 202
     }
203 203
 
204 204
     /**
@@ -565,7 +565,7 @@  discard block
 block discarded – undo
565 565
         $path = '/' . ltrim($path, '/');
566 566
 
567 567
         return ($scheme ? $scheme . ':' : '') . ($authority ? '//' . $authority : '')
568
-            . $path . ($query ? '?' . $query : '')  .($fragment ? '#' . $fragment : '');
568
+            . $path . ($query ? '?' . $query : '') . ($fragment ? '#' . $fragment : '');
569 569
     }
570 570
 
571 571
     // ------------ PRIVATE METHODS
@@ -702,7 +702,7 @@  discard block
 block discarded – undo
702 702
     {
703 703
         return preg_replace_callback(
704 704
             '/(?:[^a-zA-Z0-9_\-\.~:@&=\+\$,\/;%]+|%(?![A-Fa-f0-9]{2}))/',
705
-            function ($match) {
705
+            function($match) {
706 706
                 return rawurlencode($match[0]);
707 707
             },
708 708
             $path
Please login to merge, or discard this patch.