@@ -58,9 +58,9 @@ |
||
58 | 58 | { |
59 | 59 | $this->request = $request; |
60 | 60 | $this->state = static::PENDING; |
61 | - $this->promise = $promise->then(function ($response) { |
|
61 | + $this->promise = $promise->then(function($response) { |
|
62 | 62 | return $this->handleResponse($response); |
63 | - }, function ($reason) use ($request) { |
|
63 | + }, function($reason) use ($request) { |
|
64 | 64 | $this->exception = $this->handleRejectCallback($reason, $request); |
65 | 65 | |
66 | 66 | throw $this->exception; |