diff --git a/library/Icingadb/Common/BaseStatusBar.php b/library/Icingadb/Common/BaseStatusBar.php index 34ba6a021..add176d23 100644 --- a/library/Icingadb/Common/BaseStatusBar.php +++ b/library/Icingadb/Common/BaseStatusBar.php @@ -22,6 +22,11 @@ abstract class BaseStatusBar extends BaseHtmlElement protected $defaultAttributes = ['class' => 'status-bar']; + /** + * Create a host or service status bar + * + * @param ServicestateSummary|HoststateSummary $summary + */ public function __construct($summary) { $this->summary = $summary; diff --git a/library/Icingadb/Widget/Notice.php b/library/Icingadb/Widget/Notice.php index 415d06e6e..3ed6dadde 100644 --- a/library/Icingadb/Widget/Notice.php +++ b/library/Icingadb/Widget/Notice.php @@ -17,6 +17,11 @@ class Notice extends BaseHtmlElement protected $defaultAttributes = ['class' => 'notice']; + /** + * Create a html notice + * + * @param mixed $content + */ public function __construct($content) { $this->content = $content;