@@ -107,7 +107,7 @@ discard block |
||
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 | /** |
@@ -317,14 +317,14 @@ discard block |
||
317 | 317 | public function withUserInfo($user, $password = null) |
318 | 318 | { |
319 | 319 | if (!empty($password)) { |
320 | - $user_info = $user . ":" . $password; |
|
320 | + $user_info = $user.":".$password; |
|
321 | 321 | } else { |
322 | 322 | $user_info = $user; |
323 | 323 | } |
324 | 324 | |
325 | 325 | $with_user_info = new UserInfo($user_info); |
326 | 326 | |
327 | - $authority_string = $with_user_info->toUriString() . $this->host->toUriString() . $this->port ->toUriString(); |
|
327 | + $authority_string = $with_user_info->toUriString().$this->host->toUriString().$this->port ->toUriString(); |
|
328 | 328 | |
329 | 329 | $new_user_info_uri = $this->withAuthority($authority_string); |
330 | 330 | |
@@ -497,8 +497,7 @@ discard block |
||
497 | 497 | */ |
498 | 498 | private function explodeUri($uri) |
499 | 499 | { |
500 | - $uri_parts = array |
|
501 | - ( |
|
500 | + $uri_parts = array( |
|
502 | 501 | "scheme" => "", |
503 | 502 | "hier_part" => "", |
504 | 503 | "authority" => "", |
@@ -533,7 +532,7 @@ discard block |
||
533 | 532 | $fragment_part = '(?:#(?\'fragment\'.*))?'; |
534 | 533 | $reg_end = '/'; |
535 | 534 | |
536 | - return $reg_start . $scheme_part . $authority_part . $path_part . $query_part . $fragment_part . $reg_end; |
|
535 | + return $reg_start.$scheme_part.$authority_part.$path_part.$query_part.$fragment_part.$reg_end; |
|
537 | 536 | } |
538 | 537 | |
539 | 538 | /** |