@@ -63,8 +63,8 @@ |
||
63 | 63 | public function addFailedRequestWithException(RequestInterface $request, \Exception $exception) |
64 | 64 | { |
65 | 65 | $this->add($exception) |
66 | - ->addFailedRequest($request) |
|
67 | - ->exceptionForRequest[spl_object_hash($request)] = $exception; |
|
66 | + ->addFailedRequest($request) |
|
67 | + ->exceptionForRequest[spl_object_hash($request)] = $exception; |
|
68 | 68 | |
69 | 69 | return $this; |
70 | 70 | } |
@@ -114,7 +114,7 @@ |
||
114 | 114 | |
115 | 115 | $response = new static($data['code'], $data['headers'], $data['body']); |
116 | 116 | $response->setProtocol($data['protocol'], $data['version']) |
117 | - ->setStatus($data['code'], $data['reason_phrase']); |
|
117 | + ->setStatus($data['code'], $data['reason_phrase']); |
|
118 | 118 | |
119 | 119 | // Set the appropriate Content-Length if the one set is inaccurate (e.g. setting to X) |
120 | 120 | $contentLength = (string) $response->getHeader('Content-Length'); |
@@ -161,8 +161,8 @@ discard block |
||
161 | 161 | $url = Url::factory($request->getUrl())->setQuery('')->setFragment(null); |
162 | 162 | |
163 | 163 | return strtoupper($request->getMethod()) . '&' |
164 | - . rawurlencode($url) . '&' |
|
165 | - . rawurlencode((string) $parameterString); |
|
164 | + . rawurlencode($url) . '&' |
|
165 | + . rawurlencode((string) $parameterString); |
|
166 | 166 | } |
167 | 167 | |
168 | 168 | /** |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | */ |
275 | 275 | public function getTimestamp(Event $event) |
276 | 276 | { |
277 | - return $event['timestamp'] ?: time(); |
|
277 | + return $event['timestamp'] ?: time(); |
|
278 | 278 | } |
279 | 279 | |
280 | 280 | /** |