Completed
Push — master ( a21bcd...546ba5 )
by Derek
02:04
created
src/Anshar/Http/Uri.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -90,13 +90,13 @@  discard block
 block discarded – undo
90 90
         $normalized_authority = $this->uri_parts["host"];
91 91
 
92 92
         if (!empty($this->uri_parts["user_info"])) {
93
-            $normalized_authority = $this->uri_parts["user_info"] . "@" . $normalized_authority;
93
+            $normalized_authority = $this->uri_parts["user_info"]."@".$normalized_authority;
94 94
         }
95 95
 
96 96
         $normalized_port = $this->normalizePort();
97 97
 
98 98
         if (!is_null($normalized_port)) {
99
-            $normalized_authority = $normalized_authority . ":" . $normalized_port;
99
+            $normalized_authority = $normalized_authority.":".$normalized_port;
100 100
         }
101 101
 
102 102
         return $normalized_authority;
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
         $fragment_part    = '(?:#(?P<fragment>.+))?';
427 427
         $reg_end          = '/';
428 428
 
429
-        $uri_syntax = $reg_start . $scheme_part . $scheme_separator . $hier_part . $query_part . $fragment_part .
429
+        $uri_syntax = $reg_start.$scheme_part.$scheme_separator.$hier_part.$query_part.$fragment_part.
430 430
             $reg_end;
431 431
 
432 432
         $uri_valid = preg_match($uri_syntax, $uri, $parts);
@@ -462,7 +462,7 @@  discard block
 block discarded – undo
462 462
         $path_part      = '(?P<path>.+)?';
463 463
         $reg_end        = '/';
464 464
 
465
-        $hier_part_syntax = $reg_start . $authority_part . $path_part . $reg_end;
465
+        $hier_part_syntax = $reg_start.$authority_part.$path_part.$reg_end;
466 466
 
467 467
         preg_match($hier_part_syntax, $hier_part, $hier_parts);
468 468
 
@@ -490,7 +490,7 @@  discard block
 block discarded – undo
490 490
         $port_part      = '(?::(?P<port>[0-9]+))?';
491 491
         $reg_end        = '/';
492 492
 
493
-        $authority_syntax = $reg_start . $user_info_part . $host_part . $port_part . $reg_end;
493
+        $authority_syntax = $reg_start.$user_info_part.$host_part.$port_part.$reg_end;
494 494
 
495 495
         preg_match($authority_syntax, $authority, $authority_parts);
496 496
 
Please login to merge, or discard this patch.