|
@@ -69,7 +69,7 @@ |
|
|
block discarded – undo |
|
69
|
69
|
} |
|
70
|
70
|
|
|
71
|
71
|
$promises[] = $this->doAsyncApiQuery(['name' => (string)$hostname, 'type' => $type]) |
|
72
|
|
- ->then(function (Response $response) use (&$collection) { |
|
|
72
|
+ ->then(function(Response $response) use (&$collection) { |
|
73
|
73
|
$decoded = json_decode((string)$response->getBody(), true); |
|
74
|
74
|
foreach ($this->parseResult($decoded) as $fields) { |
|
75
|
75
|
$collection[] = $this->mapper->mapFields($fields)->toDNSRecord(); |
Please login to merge, or discard this patch.