From 29f7a78580865d184bffc85080c24d8d4c4d481c Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Thu, 21 Sep 2023 13:40:19 +0200 Subject: [PATCH] refactored widgets --- Widget/DemoWidget.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Widget/DemoWidget.php b/Widget/DemoWidget.php index 284a74b..f5fff42 100644 --- a/Widget/DemoWidget.php +++ b/Widget/DemoWidget.php @@ -32,8 +32,8 @@ public function getHeight(): int } /** - * @param array $options - * @return array + * @param array $options + * @return array */ public function getOptions(array $options = []): array { @@ -41,10 +41,9 @@ public function getOptions(array $options = []): array } /** - * @param array $options - * @return array + * @param array $options */ - public function getData(array $options = []) + public function getData(array $options = []): mixed { $query = new UserQuery(); $query->setSystemAccount(false);