@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | private static function createFromRequestFactory( |
270 | 270 | array $query = [], |
271 | 271 | array $request = [], |
272 | - array $attributes = [] , |
|
272 | + array $attributes = [], |
|
273 | 273 | array $cookies = [], |
274 | 274 | array $files = [], |
275 | 275 | array $server = [] |
@@ -542,7 +542,7 @@ discard block |
||
542 | 542 | $scheme = $this->getScheme(); |
543 | 543 | $port = $this->getPort(); |
544 | 544 | |
545 | - if (('http' === $scheme && 80 === $port) || ('https' === $scheme && 443 === $port)) { |
|
545 | + if (('http' === $scheme && 80 === $port) || ('https' === $scheme && 443 === $port)) { |
|
546 | 546 | return $this->getHost(); |
547 | 547 | } |
548 | 548 |
@@ -649,7 +649,7 @@ discard block |
||
649 | 649 | */ |
650 | 650 | public function getRouteResolver(): Closure |
651 | 651 | { |
652 | - return $this->routeResolver ?: function () { |
|
652 | + return $this->routeResolver ?: function() { |
|
653 | 653 | // |
654 | 654 | }; |
655 | 655 | } |
@@ -709,7 +709,7 @@ discard block |
||
709 | 709 | $cookies = []; |
710 | 710 | |
711 | 711 | foreach ($this->cookies as $key => $value) { |
712 | - $cookies[]= is_array($value) ? http_build_query([$key => $value], '', '; ', PHP_QUERY_RFC3986) : "$key=$value"; |
|
712 | + $cookies[] = is_array($value) ? http_build_query([$key => $value], '', '; ', PHP_QUERY_RFC3986) : "$key=$value"; |
|
713 | 713 | } |
714 | 714 | |
715 | 715 | if ($cookies) { |