@@ -25,8 +25,8 @@ |
||
25 | 25 | try { |
26 | 26 | $this->setQuoteWeight(); |
27 | 27 | $promise = $client->requestAsync('GET', 'http://201.48.198.97/calculador/CalcPrecoPrazo.aspx?' . http_build_query($this->buildRequest()))->then(function ($response) { |
28 | - $this->parseResult($response); |
|
29 | - }); |
|
28 | + $this->parseResult($response); |
|
29 | + }); |
|
30 | 30 | $promise->wait(); |
31 | 31 | } catch (RequestException $e) { |
32 | 32 | $this->result->status = 'ERROR'; |
@@ -24,7 +24,7 @@ |
||
24 | 24 | $client = new Client(); |
25 | 25 | try { |
26 | 26 | $this->setQuoteWeight(); |
27 | - $promise = $client->requestAsync('GET', 'http://201.48.198.97/calculador/CalcPrecoPrazo.aspx?' . http_build_query($this->buildRequest()))->then(function ($response) { |
|
27 | + $promise = $client->requestAsync('GET', 'http://201.48.198.97/calculador/CalcPrecoPrazo.aspx?' . http_build_query($this->buildRequest()))->then(function($response) { |
|
28 | 28 | $this->parseResult($response); |
29 | 29 | }); |
30 | 30 | $promise->wait(); |