Completed
Push — master ( ab2517...f19db8 )
by Derek
02:26
created
src/Anshar/Http/Uri.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -74,11 +74,11 @@  discard block
 block discarded – undo
74 74
         $this->uri_parts["authority"] = $this->uri_parts["host"];
75 75
 
76 76
         if (!empty($this->uri_parts["user_info"])) {
77
-            $this->uri_parts["authority"] = $this->uri_parts["user_info"] . "@" . $this->uri_parts["authority"];
77
+            $this->uri_parts["authority"] = $this->uri_parts["user_info"]."@".$this->uri_parts["authority"];
78 78
         }
79 79
 
80 80
         if (!is_null($this->uri_parts["port"])) {
81
-            $this->uri_parts["authority"] = $this->uri_parts["authority"] . ":" . $this->uri_parts["port"];
81
+            $this->uri_parts["authority"] = $this->uri_parts["authority"].":".$this->uri_parts["port"];
82 82
         }
83 83
 
84 84
         return $this->uri_parts["authority"];
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
         $fragment_part    = '(?:#(?P<fragment>.+))?';
407 407
         $reg_end          = '/';
408 408
 
409
-        $uri_syntax = $reg_start . $scheme_part . $scheme_separator . $hier_part . $query_part . $fragment_part .
409
+        $uri_syntax = $reg_start.$scheme_part.$scheme_separator.$hier_part.$query_part.$fragment_part.
410 410
             $reg_end;
411 411
 
412 412
         $uri_valid = preg_match($uri_syntax, $uri, $parts);
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
         $path_part      = '(?P<path>.+)';
437 437
         $reg_end        = '/';
438 438
 
439
-        $hier_part_syntax = $reg_start . $authority_part . $path_part . $reg_end;
439
+        $hier_part_syntax = $reg_start.$authority_part.$path_part.$reg_end;
440 440
 
441 441
         preg_match($hier_part_syntax, $hier_part, $hier_parts);
442 442
 
@@ -464,7 +464,7 @@  discard block
 block discarded – undo
464 464
         $port_part      = '(?::(?P<port>[0-9]+))?';
465 465
         $reg_end        = '/';
466 466
 
467
-        $authority_syntax = $reg_start . $user_info_part . $host_part . $port_part . $reg_end;
467
+        $authority_syntax = $reg_start.$user_info_part.$host_part.$port_part.$reg_end;
468 468
 
469 469
         preg_match($authority_syntax, $authority, $authority_parts);
470 470
 
Please login to merge, or discard this patch.