Allow for equals in filterbelowthreshold

This commit is contained in:
Bradley Schofield
2024-06-11 17:25:59 +09:00
parent d0896ee3b3
commit f92d5ed93b
5 changed files with 5 additions and 5 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -131,7 +131,7 @@ $redeployVcs = function (Request $request, Document $function, Document $project
$filterBelowThreshold = function (array $inputArray, int $threshold): array {
return \array_filter($inputArray, function ($value) use ($threshold) {
return $value < $threshold;
return $value <= $threshold;
});
};