Completed
Push — master ( fefbb0...46edab )
by Derek
02:28
created
src/Anshar/Http/Uri.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -77,11 +77,11 @@  discard block
 block discarded – undo
77 77
         $normalized_authority = $this->uri_parts["host"];
78 78
 
79 79
         if (!empty($this->uri_parts["user_info"])) {
80
-            $normalized_authority = $this->uri_parts["user_info"] . "@" . $normalized_authority;
80
+            $normalized_authority = $this->uri_parts["user_info"]."@".$normalized_authority;
81 81
         }
82 82
 
83 83
         $normalized_port      = $this->normalizePort();
84
-        $normalized_authority = $normalized_authority . $normalized_port;
84
+        $normalized_authority = $normalized_authority.$normalized_port;
85 85
 
86 86
         return $normalized_authority;
87 87
     }
@@ -408,7 +408,7 @@  discard block
 block discarded – undo
408 408
         $fragment_part    = '(?:#(?P<fragment>.+))?';
409 409
         $reg_end          = '/';
410 410
 
411
-        $uri_syntax = $reg_start . $scheme_part . $scheme_separator . $hier_part . $query_part . $fragment_part .
411
+        $uri_syntax = $reg_start.$scheme_part.$scheme_separator.$hier_part.$query_part.$fragment_part.
412 412
             $reg_end;
413 413
 
414 414
         $uri_valid = preg_match($uri_syntax, $uri, $parts);
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
         $path_part      = '(?P<path>.+)';
439 439
         $reg_end        = '/';
440 440
 
441
-        $hier_part_syntax = $reg_start . $authority_part . $path_part . $reg_end;
441
+        $hier_part_syntax = $reg_start.$authority_part.$path_part.$reg_end;
442 442
 
443 443
         preg_match($hier_part_syntax, $hier_part, $hier_parts);
444 444
 
@@ -466,7 +466,7 @@  discard block
 block discarded – undo
466 466
         $port_part      = '(?::(?P<port>[0-9]+))?';
467 467
         $reg_end        = '/';
468 468
 
469
-        $authority_syntax = $reg_start . $user_info_part . $host_part . $port_part . $reg_end;
469
+        $authority_syntax = $reg_start.$user_info_part.$host_part.$port_part.$reg_end;
470 470
 
471 471
         preg_match($authority_syntax, $authority, $authority_parts);
472 472
 
Please login to merge, or discard this patch.