@@ -39,7 +39,7 @@ |
||
39 | 39 | */ |
40 | 40 | public function __construct(?string $value) |
41 | 41 | { |
42 | - if (null === $value || !preg_match('#^\s*(==|!=|[<>]=?)?\s*([0-9\.]+)\s*([kmg]i?)?\s*$#i', $value, $matches)) { |
|
42 | + if (null === $value || ! preg_match('#^\s*(==|!=|[<>]=?)?\s*([0-9\.]+)\s*([kmg]i?)?\s*$#i', $value, $matches)) { |
|
43 | 43 | throw new InvalidArgumentException(sprintf('Don\'t understand "%s" as a number test.', $value ?? 'null')); |
44 | 44 | } |
45 | 45 |