diff --git a/core/imageboard/tag.php b/core/imageboard/tag.php index 6d4b5d60..096a3adc 100644 --- a/core/imageboard/tag.php +++ b/core/imageboard/tag.php @@ -132,7 +132,7 @@ class Tag /** * Turn a human-supplied string into a valid tag array. * - * #return string[] + * @return string[] */ public static function explode(string $tags, bool $tagme = true): array { diff --git a/core/polyfills.php b/core/polyfills.php index 7e086e25..9370bea0 100644 --- a/core/polyfills.php +++ b/core/polyfills.php @@ -175,7 +175,7 @@ function stream_file(string $file, int $start, int $end): void # http://www.php.net/manual/en/function.http-parse-headers.php#112917 if (!function_exists('http_parse_headers')) { /** - * #return string[] + * @return string[] */ function http_parse_headers(string $raw_headers): array { diff --git a/ext/comment/main.php b/ext/comment/main.php index 6bf5f686..83f95c9c 100644 --- a/ext/comment/main.php +++ b/ext/comment/main.php @@ -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 { diff --git a/ext/danbooru_api/main.php b/ext/danbooru_api/main.php index 1104f04f..2fdfd4e3 100644 --- a/ext/danbooru_api/main.php +++ b/ext/danbooru_api/main.php @@ -161,7 +161,7 @@ class DanbooruApi extends Extension * - page: page number * - after_id: limit results to posts added after this id * - * #return string + * @return string */ private function api_find_posts(): HTMLElement { diff --git a/ext/favorites/main.php b/ext/favorites/main.php index 75e3584a..c66a731a 100644 --- a/ext/favorites/main.php +++ b/ext/favorites/main.php @@ -256,7 +256,7 @@ class Favorites extends Extension } /** - * #return string[] + * @return string[] */ private function list_persons_who_have_favorited(Image $image): array { diff --git a/ext/pools/main.php b/ext/pools/main.php index e9f38cc6..5ad392aa 100644 --- a/ext/pools/main.php +++ b/ext/pools/main.php @@ -709,7 +709,7 @@ class Pools extends Extension /** * Get all of the pool IDs that an image is in, given an image ID. - * #return int[] + * @return int[] */ private function get_pool_ids(int $imageID): array { @@ -759,7 +759,7 @@ class Pools extends Extension /** * Gets the previous and next successive images from a pool, given a pool ID and an image ID. * - * #return int[] Array returning two elements (prev, next) in 1 dimension. Each returns ImageID or NULL if none. + * @return int[] Array returning two elements (prev, next) in 1 dimension. Each returns ImageID or NULL if none. */ private function get_nav_posts(Pool $pool, int $imageID): ?array { diff --git a/ext/report_image/main.php b/ext/report_image/main.php index 4a348a7f..9a65758a 100644 --- a/ext/report_image/main.php +++ b/ext/report_image/main.php @@ -192,7 +192,7 @@ class ReportImage extends Extension } /** - * #return ImageReport[] + * @return ImageReport[] */ public function get_reports(Image $image): array { diff --git a/ext/resize/main.php b/ext/resize/main.php index 40325d45..0ef4eb11 100644 --- a/ext/resize/main.php +++ b/ext/resize/main.php @@ -285,7 +285,7 @@ class ResizeImage extends Extension } /** - * #return int[] + * @return int[] */ private function calc_new_size(Image $image_obj, int $width, int $height): array { diff --git a/ext/word_filter/main.php b/ext/word_filter/main.php index fd753390..c5a7a7f7 100644 --- a/ext/word_filter/main.php +++ b/ext/word_filter/main.php @@ -42,7 +42,7 @@ class WordFilter extends Extension } /** - * #return string[] + * @return string[] */ private function get_map(): array {