mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Allow for equals in filterbelowthreshold
This commit is contained in:
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
@@ -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;
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user