From 2ec30cbceb40e4f2a0c334214486b4152605a2a3 Mon Sep 17 00:00:00 2001 From: Julian Gums Date: Wed, 15 May 2024 14:29:06 +0300 Subject: [PATCH] Change type hint for chart data --- packages/widgets/src/StatsOverviewWidget/Stat.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/widgets/src/StatsOverviewWidget/Stat.php b/packages/widgets/src/StatsOverviewWidget/Stat.php index 86e08d4cccf..2592dee7b84 100644 --- a/packages/widgets/src/StatsOverviewWidget/Stat.php +++ b/packages/widgets/src/StatsOverviewWidget/Stat.php @@ -13,7 +13,7 @@ class Stat extends Component implements Htmlable { /** - * @var array | null + * @var array | null */ protected ?array $chart = null; @@ -153,7 +153,7 @@ public function url(?string $url, bool $shouldOpenInNewTab = false): static } /** - * @param array | null $chart + * @param array | null */ public function chart(?array $chart): static { @@ -187,7 +187,7 @@ public function value($value): static } /** - * @return array | null + * @return array | null */ public function getChart(): ?array {