@@ -26,11 +26,11 @@ |
||
26 | 26 | */ |
27 | 27 | const TITLES = [ |
28 | 28 | 'Mr.', |
29 | - 'Ms.', // address for women regardless of their marital status |
|
29 | + 'Ms.', // address for women regardless of their marital status |
|
30 | 30 | 'Mrs.', |
31 | 31 | 'Miss', |
32 | - 'Mx.', // a title that does not indicate gender |
|
33 | - 'Adv.', // advocate |
|
32 | + 'Mx.', // a title that does not indicate gender |
|
33 | + 'Adv.', // advocate |
|
34 | 34 | 'Capt.', // captain |
35 | 35 | 'Dr.', |
36 | 36 | 'Prof.', // professor |
@@ -84,8 +84,8 @@ |
||
84 | 84 | public static function createFromCidrNotation($cidr) |
85 | 85 | { |
86 | 86 | list($subnet, $bits) = explode('/', $cidr); |
87 | - $start = long2ip((ip2long($subnet)) & ((-1 << (32 - (int)$bits)))); |
|
88 | - $end = long2ip((ip2long($subnet)) + pow(2, (32 - (int)$bits))-1); |
|
87 | + $start = long2ip((ip2long($subnet)) & ((-1 << (32 - (int) $bits)))); |
|
88 | + $end = long2ip((ip2long($subnet)) + pow(2, (32 - (int) $bits)) - 1); |
|
89 | 89 | |
90 | 90 | return new IpRange(new IpAddress($start), new IpAddress($end)); |
91 | 91 | } |