typed return arrays too

This commit is contained in:
Shish
2024-01-06 21:28:06 +00:00
parent 02da92403a
commit 6a2d3f49e2
9 changed files with 13 additions and 13 deletions

View File

@ -448,7 +448,7 @@ class CommentList extends Extension
}
/**
* #return Comment[]
* @return Comment[]
*/
private static function get_generic_comments(string $query, array $args): array
{
@ -462,7 +462,7 @@ class CommentList extends Extension
}
/**
* #return Comment[]
* @return Comment[]
*/
private static function get_recent_comments(int $count): array
{
@ -480,7 +480,7 @@ class CommentList extends Extension
}
/**
* #return Comment[]
* @return Comment[]
*/
private static function get_user_comments(int $user_id, int $count, int $offset = 0): array
{
@ -500,7 +500,7 @@ class CommentList extends Extension
/**
* public just for Image::get_comments()
* #return Comment[]
* @return Comment[]
*/
public static function get_comments(int $image_id): array
{