@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | */ |
| 134 | 134 | public function getAuthority() |
| 135 | 135 | { |
| 136 | - return $this->user_info->toUriString() . $this->host->toUriString() . $this->port->toUriString($this->scheme); |
|
| 136 | + return $this->user_info->toUriString().$this->host->toUriString().$this->port->toUriString($this->scheme); |
|
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | /** |
@@ -222,7 +222,7 @@ discard block |
||
| 222 | 222 | public function getPath() |
| 223 | 223 | { |
| 224 | 224 | $path_unencoded = array("/"); |
| 225 | - $allowed = implode($this->pchar_unencoded) . implode($this->sub_delims) . implode($path_unencoded); |
|
| 225 | + $allowed = implode($this->pchar_unencoded).implode($this->sub_delims).implode($path_unencoded); |
|
| 226 | 226 | |
| 227 | 227 | if ($this->containsUnallowedUriCharacters($this->uri_parts["path"], $allowed)) { |
| 228 | 228 | $encoded_string = $this->encodeComponent($this->uri_parts["path"], $path_unencoded); |
@@ -539,7 +539,7 @@ discard block |
||
| 539 | 539 | $fragment_part = '(?:#(?\'fragment\'.*))?'; |
| 540 | 540 | $reg_end = '/'; |
| 541 | 541 | |
| 542 | - $uri_syntax = $reg_start . $scheme_part . $hier_part . $query_part . $fragment_part . $reg_end; |
|
| 542 | + $uri_syntax = $reg_start.$scheme_part.$hier_part.$query_part.$fragment_part.$reg_end; |
|
| 543 | 543 | |
| 544 | 544 | $uri_valid = preg_match($uri_syntax, $uri, $parts); |
| 545 | 545 | |
@@ -574,7 +574,7 @@ discard block |
||
| 574 | 574 | $path_part = '(?\'path\'.+)?'; |
| 575 | 575 | $reg_end = '/'; |
| 576 | 576 | |
| 577 | - $hier_part_syntax = $reg_start . $authority_part . $path_part . $reg_end; |
|
| 577 | + $hier_part_syntax = $reg_start.$authority_part.$path_part.$reg_end; |
|
| 578 | 578 | |
| 579 | 579 | preg_match($hier_part_syntax, $hier_part, $matches); |
| 580 | 580 | |
@@ -663,7 +663,7 @@ discard block |
||
| 663 | 663 | $authority_string = ""; |
| 664 | 664 | |
| 665 | 665 | if (!empty($authority)) { |
| 666 | - $authority_string .= "//" . $authority; |
|
| 666 | + $authority_string .= "//".$authority; |
|
| 667 | 667 | } |
| 668 | 668 | |
| 669 | 669 | return $authority_string; |
@@ -690,7 +690,7 @@ discard block |
||
| 690 | 690 | $path_string .= $collapsed_slashes; |
| 691 | 691 | } elseif (!empty($path)) { |
| 692 | 692 | if (!$path_string_helper->startsWith("/")) { |
| 693 | - $path_string .= "/" . $path; |
|
| 693 | + $path_string .= "/".$path; |
|
| 694 | 694 | } else { |
| 695 | 695 | $path_string .= $path; |
| 696 | 696 | } |