@@ -29,7 +29,7 @@ |
||
| 29 | 29 | public function __construct($cidrIp) |
| 30 | 30 | { |
| 31 | 31 | // must be of form IP/PREFIX |
| 32 | - if (1 !== substr_count($cidrIp, '/')) { |
|
| 32 | + if (1 !== substr_count($cidrIp, '/')) { |
|
| 33 | 33 | throw new InvalidArgumentException('not in CIDR format'); |
| 34 | 34 | } |
| 35 | 35 | list($ip, $prefix) = explode('/', $cidrIp); |