Passed
Push — master ( 670f54...e17fe0 )
by Alexander
03:08
created
src/components/Finder/Comparators/NumberComparator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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
         
Please login to merge, or discard this patch.