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:
authorJoas Schilling <coding@schilljs.com>2022-07-08 13:37:01 +0300
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2022-07-08 13:59:34 +0300
commit3a935cd874645e74ee080ba41e6a9fc9968d9afc (patch)
treef43f832c6e537f47a67621627d27f758f00a346b
parent9ddac8e860afd4bda5fabe0efe8e41356d488c0e (diff)
Type the return valuebackport/184/stable24
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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);
}));
}