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 aeaea8b commit 5398bfcCopy full SHA for 5398bfc
References.php
@@ -235,10 +235,8 @@ public function threshold(string $threshold): float
235
if (is_numeric($percent_num)) {
236
return $threshold;
237
}
238
- } else {
239
- if (is_numeric($threshold)) {
240
- return $threshold;
241
- }
+ } else if (is_numeric($threshold)) {
+ return $threshold;
242
243
244
throw new \InvalidArgumentException(\sprintf(
0 commit comments