From 90dd842a7c2add3762ec2cbefcd399ec321e33e5 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 7 Feb 2023 13:18:42 +0000 Subject: [PATCH] TagUsage is not-null --- core/imageboard/tag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/imageboard/tag.php b/core/imageboard/tag.php index 996044eb..c5997586 100644 --- a/core/imageboard/tag.php +++ b/core/imageboard/tag.php @@ -25,7 +25,7 @@ class TagUsage /** * @return TagUsage[] */ - #[Query(name: "tags", type: '[TagUsage]')] + #[Query(name: "tags", type: '[TagUsage!]!')] public static function tags(string $search, int $limit=10): array { global $cache, $database;