From 9c402eb745c39a2b5122f45cdd1c3e673b72850a Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 16 Sep 2022 08:23:04 +0200 Subject: Add since tags Signed-off-by: Joas Schilling --- lib/public/Dashboard/IIconWidget.php | 1 + lib/public/Dashboard/IOptionWidget.php | 1 + lib/public/Dashboard/Model/WidgetButton.php | 6 ++++++ 3 files changed, 8 insertions(+) (limited to 'lib') diff --git a/lib/public/Dashboard/IIconWidget.php b/lib/public/Dashboard/IIconWidget.php index b9928d5a6b3..3f5cf5fb050 100644 --- a/lib/public/Dashboard/IIconWidget.php +++ b/lib/public/Dashboard/IIconWidget.php @@ -32,6 +32,7 @@ interface IIconWidget extends IWidget { * Get the absolute url for the widget icon * * @return string + * @since 25.0.0 */ public function getIconUrl(): string; } diff --git a/lib/public/Dashboard/IOptionWidget.php b/lib/public/Dashboard/IOptionWidget.php index 0cc129a5087..8d5146c5248 100644 --- a/lib/public/Dashboard/IOptionWidget.php +++ b/lib/public/Dashboard/IOptionWidget.php @@ -32,6 +32,7 @@ use OCP\Dashboard\Model\WidgetOptions; interface IOptionWidget extends IWidget { /** * Get additional options for the widget + * @since 25.0.0 */ public function getWidgetOptions(): WidgetOptions; } diff --git a/lib/public/Dashboard/Model/WidgetButton.php b/lib/public/Dashboard/Model/WidgetButton.php index f3e706bf652..480249b539f 100644 --- a/lib/public/Dashboard/Model/WidgetButton.php +++ b/lib/public/Dashboard/Model/WidgetButton.php @@ -37,6 +37,12 @@ class WidgetButton { private string $link; private string $text; + /** + * @param string $type + * @param string $link + * @param string $text + * @since 25.0.0 + */ public function __construct(string $type, string $link, string $text) { $this->type = $type; $this->link = $link; -- cgit v1.2.3