diff options
-rw-r--r-- | lib/Controller/APIController.php | 2 |
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); })); } |