Completed
Push — master ( bd1ace...028100 )
by Derek
02:11
created
src/Anshar/Http/Uri.php 1 patch
Spacing   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      */
108 108
     public function getAuthority()
109 109
     {
110
-        return $this->user_info->toUriString() . $this->host->toUriString() . $this->port->toUriString($this->scheme);
110
+        return $this->user_info->toUriString().$this->host->toUriString().$this->port->toUriString($this->scheme);
111 111
     }
112 112
 
113 113
     /**
@@ -479,8 +479,7 @@  discard block
 block discarded – undo
479 479
      */
480 480
     private function explodeUri($uri)
481 481
     {
482
-        $uri_parts = array
483
-        (
482
+        $uri_parts = array(
484 483
             "scheme"    => "",
485 484
             "hier_part" => "",
486 485
             "authority" => "",
@@ -499,7 +498,7 @@  discard block
 block discarded – undo
499 498
         $fragment_part = '(?:#(?\'fragment\'.*))?';
500 499
         $reg_end       = '/';
501 500
 
502
-        $uri_syntax = $reg_start . $scheme_part . $hier_part . $query_part . $fragment_part . $reg_end;
501
+        $uri_syntax = $reg_start.$scheme_part.$hier_part.$query_part.$fragment_part.$reg_end;
503 502
 
504 503
         $uri_valid = preg_match($uri_syntax, $uri, $parts);
505 504
 
@@ -533,7 +532,7 @@  discard block
 block discarded – undo
533 532
         $path_part      = '(?\'path\'.+)?';
534 533
         $reg_end        = '/';
535 534
 
536
-        $hier_part_syntax = $reg_start . $authority_part . $path_part . $reg_end;
535
+        $hier_part_syntax = $reg_start.$authority_part.$path_part.$reg_end;
537 536
 
538 537
         preg_match($hier_part_syntax, $hier_part, $matches);
539 538
 
Please login to merge, or discard this patch.