From 356b2582f3e6a43ecf2607acad4a7fe0b37f659a Mon Sep 17 00:00:00 2001 From: Bot Date: Tue, 3 Jan 2017 03:22:48 +0100 Subject: PPHDoc, formatting, fixes, cleanup --- includes/view/UserHintsRenderer.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'includes/view/UserHintsRenderer.php') diff --git a/includes/view/UserHintsRenderer.php b/includes/view/UserHintsRenderer.php index cd0f568a..aac8ecfd 100644 --- a/includes/view/UserHintsRenderer.php +++ b/includes/view/UserHintsRenderer.php @@ -4,12 +4,15 @@ namespace Engelsystem; class UserHintsRenderer { + /** @var string[] */ private $hints = []; private $important = false; /** * Render the added hints to a popover for the toolbar. + * + * @return string */ public function render() { @@ -26,10 +29,8 @@ class UserHintsRenderer /** * Add a hint to the list, if its not null and a not empty string. * - * @param string $hint - * The hint - * @param boolean $important - * Is the hint important? + * @param string $hint The hint + * @param boolean $important Is the hint important? */ public function addHint($hint, $important = false) { @@ -45,6 +46,8 @@ class UserHintsRenderer /** * Get all hints. + * + * @return string[] */ public function getHints() { @@ -53,6 +56,8 @@ class UserHintsRenderer /** * Are there important hints? This leads to a more intensive icon. + * + * @return bool */ public function isImportant() { -- cgit v1.2.3-54-g00ecf