| @@ -68,10 +68,10 @@ discard block | ||
| 68 | 68 | } | 
| 69 | 69 | |
| 70 | 70 | $promises[] = $this->doAsyncApiQuery(['name' => (string)$hostname, 'type' => $type]) | 
| 71 | -                ->then(function (Response $response) use (&$results) { | |
| 71 | +                ->then(function(Response $response) use (&$results) { | |
| 72 | 72 | $results = array_merge( | 
| 73 | 73 | $results, | 
| 74 | - $this->parseResult((array) json_decode((string)$response->getBody(), true)) | |
| 74 | + $this->parseResult((array)json_decode((string)$response->getBody(), true)) | |
| 75 | 75 | ); | 
| 76 | 76 | }); | 
| 77 | 77 | } | 
| @@ -88,7 +88,7 @@ discard block | ||
| 88 | 88 | |
| 89 | 89 | private function doApiQuery(array $query = []) : DNSRecordCollection | 
| 90 | 90 |      { | 
| 91 | - $decoded = (array) json_decode((string)$this->doAsyncApiQuery($query)->wait()->getBody(), true); | |
| 91 | + $decoded = (array)json_decode((string)$this->doAsyncApiQuery($query)->wait()->getBody(), true); | |
| 92 | 92 | |
| 93 | 93 | return $this->mapResults($this->mapper, $this->parseResult($decoded)); | 
| 94 | 94 | } | 
| @@ -28,7 +28,7 @@ discard block | ||
| 28 | 28 |      { | 
| 29 | 29 |          if ($this->name === null) { | 
| 30 | 30 |              $explodedClass = explode('\\', get_class($this)); | 
| 31 | - $this->name = (string) array_pop($explodedClass); | |
| 31 | + $this->name = (string)array_pop($explodedClass); | |
| 32 | 32 | } | 
| 33 | 33 | |
| 34 | 34 | return $this->name; | 
| @@ -108,7 +108,7 @@ discard block | ||
| 108 | 108 | public function mapResults(MapperInterface $mapper, array $results) : DNSRecordCollection | 
| 109 | 109 |      { | 
| 110 | 110 | $collection = new DNSRecordCollection(); | 
| 111 | -        array_map(function (array $fields) use (&$collection, $mapper) { | |
| 111 | +        array_map(function(array $fields) use (&$collection, $mapper) { | |
| 112 | 112 |              try { | 
| 113 | 113 | $collection[] = $mapper->mapFields($fields)->toDNSRecord(); | 
| 114 | 114 |              } catch (InvalidArgumentException $e) { |