@@ -702,7 +702,7 @@ |
||
702 | 702 | { |
703 | 703 | return preg_replace_callback( |
704 | 704 | '/(?:[^a-zA-Z0-9_\-\.~:@&=\+\$,\/;%]+|%(?![A-Fa-f0-9]{2}))/', |
705 | - function ($match) { |
|
705 | + function($match) { |
|
706 | 706 | return rawurlencode($match[0]); |
707 | 707 | }, |
708 | 708 | $path |
@@ -74,7 +74,7 @@ |
||
74 | 74 | } |
75 | 75 | |
76 | 76 | $this->validateMethod($requestMethod); |
77 | - $this->requestMethod = $requestMethod; |
|
77 | + $this->requestMethod = $requestMethod; |
|
78 | 78 | |
79 | 79 | if ($this->uri->getHost() !== '' && (!$this->hasHeader('Host') || $this->getHeader('Host') === null)) { |
80 | 80 | $this->headers->set('Host', $this->uri->getHost()); |
@@ -122,7 +122,7 @@ |
||
122 | 122 | parent::__construct($headers, $body); |
123 | 123 | $this->validateStatus($status); |
124 | 124 | |
125 | - $this->status = $status; |
|
125 | + $this->status = $status; |
|
126 | 126 | } |
127 | 127 | |
128 | 128 | /** |