Completed
Push — master ( f19db8...e36bb3 )
by Derek
02:14
created
src/Anshar/Http/Uri.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -81,11 +81,11 @@  discard block
 block discarded – undo
81 81
         }
82 82
 
83 83
         if (!empty($this->uri_parts["user_info"])) {
84
-            $normalized_authority = $this->uri_parts["user_info"] . "@" . $normalized_authority;
84
+            $normalized_authority = $this->uri_parts["user_info"]."@".$normalized_authority;
85 85
         }
86 86
 
87 87
         if (!is_null($this->uri_parts["port"]) && $this->uri_parts["port"] != $standard_port) {
88
-            $normalized_authority = $normalized_authority . ":" . $this->uri_parts["port"];
88
+            $normalized_authority = $normalized_authority.":".$this->uri_parts["port"];
89 89
         }
90 90
 
91 91
         return $normalized_authority;
@@ -413,7 +413,7 @@  discard block
 block discarded – undo
413 413
         $fragment_part    = '(?:#(?P<fragment>.+))?';
414 414
         $reg_end          = '/';
415 415
 
416
-        $uri_syntax = $reg_start . $scheme_part . $scheme_separator . $hier_part . $query_part . $fragment_part .
416
+        $uri_syntax = $reg_start.$scheme_part.$scheme_separator.$hier_part.$query_part.$fragment_part.
417 417
             $reg_end;
418 418
 
419 419
         $uri_valid = preg_match($uri_syntax, $uri, $parts);
@@ -443,7 +443,7 @@  discard block
 block discarded – undo
443 443
         $path_part      = '(?P<path>.+)';
444 444
         $reg_end        = '/';
445 445
 
446
-        $hier_part_syntax = $reg_start . $authority_part . $path_part . $reg_end;
446
+        $hier_part_syntax = $reg_start.$authority_part.$path_part.$reg_end;
447 447
 
448 448
         preg_match($hier_part_syntax, $hier_part, $hier_parts);
449 449
 
@@ -471,7 +471,7 @@  discard block
 block discarded – undo
471 471
         $port_part      = '(?::(?P<port>[0-9]+))?';
472 472
         $reg_end        = '/';
473 473
 
474
-        $authority_syntax = $reg_start . $user_info_part . $host_part . $port_part . $reg_end;
474
+        $authority_syntax = $reg_start.$user_info_part.$host_part.$port_part.$reg_end;
475 475
 
476 476
         preg_match($authority_syntax, $authority, $authority_parts);
477 477
 
Please login to merge, or discard this patch.