We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aae9da5 commit aeaea8bCopy full SHA for aeaea8b
References.php
@@ -236,8 +236,9 @@ public function threshold(string $threshold): float
236
return $threshold;
237
}
238
} else {
239
- if (is_int(filter_var($threshold, FILTER_VALIDATE_INT)) && intval($threshold) >= 0)
+ if (is_numeric($threshold)) {
240
241
+ }
242
243
244
throw new \InvalidArgumentException(\sprintf(
0 commit comments