From c2f382aba86aaebb9806ff1b43c1af69992e9a10 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Mon, 11 Jul 2022 15:01:02 +0300 Subject: support dark mode for images with alpha channel --- lib/posts.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/posts.php') diff --git a/lib/posts.php b/lib/posts.php index bf8d149..1537749 100644 --- a/lib/posts.php +++ b/lib/posts.php @@ -23,6 +23,9 @@ class posts { return (int)$db->result($db->query($sql, $tag_id)); } + /** + * @return Post[] + */ public static function getPosts(int $offset = 0, int $count = -1, bool $include_hidden = false): array { $db = getDb(); $sql = "SELECT * FROM posts"; -- cgit v1.2.3