From 3037a307db0655b5deb0d08258686edb5ddb4761 Mon Sep 17 00:00:00 2001 From: Erik Bernskiold Date: Sat, 17 Feb 2024 10:29:46 +0100 Subject: [PATCH] Hint attributes --- src/Components/ChartComponent.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Components/ChartComponent.php b/src/Components/ChartComponent.php index 24a4a4f..37d4bdc 100644 --- a/src/Components/ChartComponent.php +++ b/src/Components/ChartComponent.php @@ -21,6 +21,9 @@ public function __construct( $this->initializeChart(); } + /** + * @param array $data + */ public static function make(...$args): static { return new static(...$args);