Passed
Pull Request — master (#11)
by Christian
04:46
created
src/Resolvers/ResolverAbstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
     public function mapResults(MapperInterface $mapper, array $results) : DNSRecordCollection
115 115
     {
116 116
         $collection = new DNSRecordCollection();
117
-        array_map(function (array $fields) use (&$collection, $mapper) {
117
+        array_map(function(array $fields) use (&$collection, $mapper) {
118 118
             try {
119 119
                 $collection[] = $mapper->mapFields($fields)->toDNSRecord();
120 120
             } catch (InvalidArgumentException $e) {
Please login to merge, or discard this patch.
src/Entities/IPAddress.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     public static function isValid(string $IPAddress): bool
33 33
     {
34
-        return (bool) filter_var($IPAddress, FILTER_VALIDATE_IP);
34
+        return (bool)filter_var($IPAddress, FILTER_VALIDATE_IP);
35 35
     }
36 36
 
37 37
     public static function createFromString(string $IPAddress): IPAddress
@@ -51,11 +51,11 @@  discard block
 block discarded – undo
51 51
 
52 52
     public function isIPv6(): bool
53 53
     {
54
-        return (bool) filter_var($this->IPAddress, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6);
54
+        return (bool)filter_var($this->IPAddress, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6);
55 55
     }
56 56
 
57 57
     public function isIPv4(): bool
58 58
     {
59
-        return (bool) filter_var($this->IPAddress, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4);
59
+        return (bool)filter_var($this->IPAddress, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4);
60 60
     }
61 61
 }
Please login to merge, or discard this patch.