@@ -20,7 +20,7 @@ discard block  | 
                                                    ||
| 20 | 20 | public function __construct(array $addresses = array())  | 
                                                        
| 21 | 21 |      { | 
                                                        
| 22 | 22 | $this->position = 0;  | 
                                                        
| 23 | -        if (! empty($addresses)) { | 
                                                        |
| 23 | +        if (!empty($addresses)) { | 
                                                        |
| 24 | 24 | $this->add($addresses);  | 
                                                        
| 25 | 25 | }  | 
                                                        
| 26 | 26 | }  | 
                                                        
@@ -49,12 +49,12 @@ discard block  | 
                                                    ||
| 49 | 49 | public static function fromParserWithCache(ParserInterface $parser, IpListCacheInterface $cache)  | 
                                                        
| 50 | 50 |      { | 
                                                        
| 51 | 51 | $ipList = $cache->fetch();  | 
                                                        
| 52 | -        if (! is_null($ipList)) { | 
                                                        |
| 52 | +        if (!is_null($ipList)) { | 
                                                        |
| 53 | 53 | return $ipList;  | 
                                                        
| 54 | 54 |          } else { | 
                                                        
| 55 | 55 | $ipList = self::fromParser($parser);  | 
                                                        
| 56 | -            if (! empty($ipList)) { | 
                                                        |
| 57 | -                if (! $cache->store($ipList)) { | 
                                                        |
| 56 | +            if (!empty($ipList)) { | 
                                                        |
| 57 | +                if (!$cache->store($ipList)) { | 
                                                        |
| 58 | 58 |                      throw new \RuntimeException('Failed storing new tor exit node list in cache.'); | 
                                                        
| 59 | 59 | }  | 
                                                        
| 60 | 60 | }  | 
                                                        
@@ -72,13 +72,13 @@ discard block  | 
                                                    ||
| 72 | 72 | */  | 
                                                        
| 73 | 73 | public function add($addresses)  | 
                                                        
| 74 | 74 |      { | 
                                                        
| 75 | -        if (! is_array($addresses)) { | 
                                                        |
| 75 | +        if (!is_array($addresses)) { | 
                                                        |
| 76 | 76 | $addresses = (array) $addresses;  | 
                                                        
| 77 | 77 | }  | 
                                                        
| 78 | 78 | |
| 79 | 79 |          foreach ($addresses as $address) { | 
                                                        
| 80 | 80 | $ip = ip2long($address);  | 
                                                        
| 81 | -            if ($ip && ! isset($this->addressInList[$ip])) { | 
                                                        |
| 81 | +            if ($ip && !isset($this->addressInList[$ip])) { | 
                                                        |
| 82 | 82 | $this->addresses[] = $ip;  | 
                                                        
| 83 | 83 | $this->addressInList[$ip] = true;  | 
                                                        
| 84 | 84 | }  | 
                                                        
@@ -95,7 +95,7 @@ discard block  | 
                                                    ||
| 95 | 95 | */  | 
                                                        
| 96 | 96 | public function remove($addresses)  | 
                                                        
| 97 | 97 |      { | 
                                                        
| 98 | -        if (! is_array($addresses)) { | 
                                                        |
| 98 | +        if (!is_array($addresses)) { | 
                                                        |
| 99 | 99 | $addresses = (array) $addresses;  | 
                                                        
| 100 | 100 | }  | 
                                                        
| 101 | 101 | |
@@ -142,7 +142,7 @@ discard block  | 
                                                    ||
| 142 | 142 | */  | 
                                                        
| 143 | 143 | public function doesNotContain($address)  | 
                                                        
| 144 | 144 |      { | 
                                                        
| 145 | - return ! $this->contains($address);  | 
                                                        |
| 145 | + return !$this->contains($address);  | 
                                                        |
| 146 | 146 | }  | 
                                                        
| 147 | 147 | |
| 148 | 148 | /**  |