diff --git a/themes/danbooru/index.theme.php b/themes/danbooru/index.theme.php index f31be3b1..9a26a4d6 100644 --- a/themes/danbooru/index.theme.php +++ b/themes/danbooru/index.theme.php @@ -3,7 +3,7 @@ class CustomIndexTheme extends IndexTheme { /** * @param Page $page - * @param null|array $images + * @param null|Image[] $images */ public function display_page(Page $page, $images) { global $config; diff --git a/themes/lite/comment.theme.php b/themes/lite/comment.theme.php index 9c4638ea..a30e086b 100644 --- a/themes/lite/comment.theme.php +++ b/themes/lite/comment.theme.php @@ -1,10 +1,19 @@ rr(parent::comment_to_html($comment, $trim)); } + /** + * @param int $image_id + * @return string + */ protected function build_postbox($image_id) { return $this->rr(parent::build_postbox($image_id)); } diff --git a/themes/lite/custompage.class.php b/themes/lite/custompage.class.php index 16d676cf..b5c3ea29 100644 --- a/themes/lite/custompage.class.php +++ b/themes/lite/custompage.class.php @@ -1,7 +1,12 @@ left_enabled = false; } diff --git a/themes/lite/setup.theme.php b/themes/lite/setup.theme.php index a1e9e72d..7b130507 100644 --- a/themes/lite/setup.theme.php +++ b/themes/lite/setup.theme.php @@ -1,6 +1,10 @@