diff --git a/src/Chart.php b/src/Chart.php index becc474..72818ed 100644 --- a/src/Chart.php +++ b/src/Chart.php @@ -60,7 +60,7 @@ public function init(): void /** * Renders chart view. */ - public function renderView() + public function renderView(): void { $this->js(true, new jsExpression('new Chart([], []);', [$this->name, $this->getConfig()]));