aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Dashboard/IManager.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-08-04 15:20:05 +0200
committerJulius Härtl <jus@bitgrid.net>2020-08-05 17:03:38 +0200
commit018be662f4df89345b528382ab300269d4a88048 (patch)
tree474a64e9a86f1070f7aeacf947334a1922655d58 /lib/public/Dashboard/IManager.php
parent6accf4d857b4233cff698e602041a5126a57e940 (diff)
downloadnextcloud-server-018be662f4df89345b528382ab300269d4a88048.tar.gz
nextcloud-server-018be662f4df89345b528382ab300269d4a88048.zip
Refactor API to match the widget wording
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public/Dashboard/IManager.php')
-rw-r--r--lib/public/Dashboard/IManager.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/Dashboard/IManager.php b/lib/public/Dashboard/IManager.php
index 985c8c7838f..81b1bb0dffe 100644
--- a/lib/public/Dashboard/IManager.php
+++ b/lib/public/Dashboard/IManager.php
@@ -35,15 +35,15 @@ namespace OCP\Dashboard;
interface IManager {
/**
- * @param string $panelClass
+ * @param string $widgetClass
* @since 20.0.0
*/
- public function lazyRegisterPanel(string $panelClass): void;
+ public function lazyRegisterWidget(string $widgetClass): void;
/**
* @since 20.0.0
*
- * @return IPanel[]
+ * @return IWidget[]
*/
- public function getPanels(): array;
+ public function getWidgets(): array;
}