TagUsage is not-null

This commit is contained in:
Shish 2023-02-07 13:18:42 +00:00
parent 7fbc19d7a9
commit 90dd842a7c

View file

@ -25,7 +25,7 @@ class TagUsage
/** /**
* @return TagUsage[] * @return TagUsage[]
*/ */
#[Query(name: "tags", type: '[TagUsage]')] #[Query(name: "tags", type: '[TagUsage!]!')]
public static function tags(string $search, int $limit=10): array public static function tags(string $search, int $limit=10): array
{ {
global $cache, $database; global $cache, $database;