diff options
author | Joas Schilling <coding@schilljs.com> | 2022-09-16 08:23:04 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-09-16 08:23:04 +0200 |
commit | 9c402eb745c39a2b5122f45cdd1c3e673b72850a (patch) | |
tree | 219a284fa0a200e314fdf7fd11629c88109357b9 /lib | |
parent | da74da8a9c5ace9b10bc9dbd60fad229d477b073 (diff) | |
download | nextcloud-server-9c402eb745c39a2b5122f45cdd1c3e673b72850a.tar.gz nextcloud-server-9c402eb745c39a2b5122f45cdd1c3e673b72850a.zip |
Add since tags
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/Dashboard/IIconWidget.php | 1 | ||||
-rw-r--r-- | lib/public/Dashboard/IOptionWidget.php | 1 | ||||
-rw-r--r-- | lib/public/Dashboard/Model/WidgetButton.php | 6 |
3 files changed, 8 insertions, 0 deletions
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; |