|
@@ -22,7 +22,7 @@ discard block |
|
|
block discarded – undo |
|
22
|
22
|
|
|
23
|
23
|
// get latest ad
|
|
24
|
24
|
$request = new Request('GET', $url);
|
|
25
|
|
- $promise = $client->sendAsync($request)->then(function ($response) {
|
|
|
25
|
+ $promise = $client->sendAsync($request)->then(function($response) {
|
|
26
|
26
|
|
|
27
|
27
|
$html = $response->getBody()->getContents();
|
|
28
|
28
|
|
|
@@ -46,7 +46,7 @@ discard block |
|
|
block discarded – undo |
|
46
|
46
|
|
|
47
|
47
|
// get ads
|
|
48
|
48
|
$request = new Request('GET', $url);
|
|
49
|
|
- $promise = $client->sendAsync($request)->then(function ($response) {
|
|
|
49
|
+ $promise = $client->sendAsync($request)->then(function($response) {
|
|
50
|
50
|
|
|
51
|
51
|
$html = $response->getBody()->getContents();
|
|
52
|
52
|
|
Please login to merge, or discard this patch.