Passed
Push — master ( a7a455...59a4ed )
by Christian
01:41 queued 11s
created
src/Resolvers/ResolverAbstract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/Resolvers/GoogleDNS.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
             throw new QueryFailure("Unable to query GoogleDNS API", 0, $e);
84 84
         }
85 85
 
86
-        $result = (array) json_decode((string)$response->getBody(), true);
86
+        $result = (array)json_decode((string)$response->getBody(), true);
87 87
 
88 88
         if (isset($result['Answer'])) {
89 89
             return $result['Answer'];
Please login to merge, or discard this patch.