@@ -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); |
@@ -541,7 +541,7 @@ discard block |
||
| 541 | 541 | $fragment_part = '(?:#(?\'fragment\'.*))?'; |
| 542 | 542 | $reg_end = '/'; |
| 543 | 543 | |
| 544 | - $uri_syntax = $reg_start . $scheme_part . $hier_part . $query_part . $fragment_part . $reg_end; |
|
| 544 | + $uri_syntax = $reg_start.$scheme_part.$hier_part.$query_part.$fragment_part.$reg_end; |
|
| 545 | 545 | |
| 546 | 546 | $uri_valid = preg_match($uri_syntax, $uri, $parts); |
| 547 | 547 | |
@@ -576,7 +576,7 @@ discard block |
||
| 576 | 576 | $path_part = '(?\'path\'.+)?'; |
| 577 | 577 | $reg_end = '/'; |
| 578 | 578 | |
| 579 | - $hier_part_syntax = $reg_start . $authority_part . $path_part . $reg_end; |
|
| 579 | + $hier_part_syntax = $reg_start.$authority_part.$path_part.$reg_end; |
|
| 580 | 580 | |
| 581 | 581 | preg_match($hier_part_syntax, $hier_part, $matches); |
| 582 | 582 | |
@@ -672,7 +672,7 @@ discard block |
||
| 672 | 672 | $path_string .= $collapsed_slashes; |
| 673 | 673 | } elseif (!empty($path)) { |
| 674 | 674 | if (!$path_string_helper->startsWith("/")) { |
| 675 | - $path_string .= "/" . $path; |
|
| 675 | + $path_string .= "/".$path; |
|
| 676 | 676 | } else { |
| 677 | 677 | $path_string .= $path; |
| 678 | 678 | } |