Skip to content

Commit 36ce701

Browse files
committed
JsonType::matchFilter consistent return
1 parent 3ff8da4 commit 36ce701

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Codeception/Util/JsonType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,5 +240,7 @@ protected function matchFilter($filter, $value)
240240
if (preg_match('~^<(-?[\d\.]+)$~', $filter, $matches)) {
241241
return (float)$value < (float)$matches[1];
242242
}
243+
244+
return false;
243245
}
244246
}

0 commit comments

Comments
 (0)