Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_retention.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Controller/APIController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/APIController.php b/lib/Controller/APIController.php
index e4fc4ff..252ca23 100644
--- a/lib/Controller/APIController.php
+++ b/lib/Controller/APIController.php
@@ -84,7 +84,7 @@ class APIController extends Controller {
} catch (TagNotFoundException $e) {
$missingTags = array_map('intval', $e->getMissingTags());
- $result = array_values(array_filter($result, static function (array $rule) use ($missingTags) {
+ $result = array_values(array_filter($result, static function (array $rule) use ($missingTags): bool {
return !in_array($rule['tagid'], $missingTags, true);
}));
}