@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | { |
25 | 25 | $url = $node->getInstruction($this); |
26 | 26 | |
27 | - $type = (is_object($url) ? get_class($url) . ' ' : '') . gettype($url); |
|
27 | + $type = (is_object($url) ? get_class($url).' ' : '').gettype($url); |
|
28 | 28 | if (!assert(is_string($url), "Expected '{$this->property}' to be a string, but got a $type")) { |
29 | 29 | return null; |
30 | 30 | } |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | } |
46 | 46 | |
47 | 47 | $client = new Client(['http_errors' => false]); |
48 | - $promise = $client->getAsync($url)->then(function (Response $response) use ($node) { |
|
48 | + $promise = $client->getAsync($url)->then(function(Response $response) use ($node) { |
|
49 | 49 | $this->applyResult($node, $response); |
50 | 50 | }); |
51 | 51 |