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 da6c798 commit 8bdb918Copy full SHA for 8bdb918
References.php
@@ -232,8 +232,9 @@ public function threshold(string $threshold): float
232
233
if (substr($threshold, -1) == '%') {
234
$percent_num = substr($threshold, 0, -1);
235
- if (is_numeric($percent_num))
+ if (is_numeric($percent_num)) {
236
return $threshold;
237
+ }
238
} else {
239
if (is_int(filter_var($threshold, FILTER_VALIDATE_INT)) && intval($threshold) >= 0)
240
0 commit comments