Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-09-16 09:23:04 +0300
committerJoas Schilling <coding@schilljs.com>2022-09-16 09:23:04 +0300
commit9c402eb745c39a2b5122f45cdd1c3e673b72850a (patch)
tree219a284fa0a200e314fdf7fd11629c88109357b9 /lib
parentda74da8a9c5ace9b10bc9dbd60fad229d477b073 (diff)
Add since tags
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/public/Dashboard/IIconWidget.php1
-rw-r--r--lib/public/Dashboard/IOptionWidget.php1
-rw-r--r--lib/public/Dashboard/Model/WidgetButton.php6
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;