Add since tags

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2022-09-16 08:23:04 +02:00
parent da74da8a9c
commit 9c402eb745
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
3 changed files with 8 additions and 0 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;