From 7b77ccb267e0710fa677af7a7e323d49c97ddef0 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 1 Jun 2018 18:40:46 +0200 Subject: [PATCH] Improve docblock param/return --- Controller.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Controller.php b/Controller.php index 6030447..f1578f3 100644 --- a/Controller.php +++ b/Controller.php @@ -273,6 +273,15 @@ final class Controller extends ModuleAbstract implements WebInterface return []; } + /** + * Count unread messages + * + * @param int $account Account id + * + * @return int + * + * @since 1.0.0 + */ public function openNav(int $account) : int { return TaskMapper::countUnread($account);