Skip to content

Commit 2f0f4b7

Browse files
committed
Fix stimulus helper name
1 parent 674820b commit 2f0f4b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Chartjs/src/Twig/ChartExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function renderChart(Chart $chart, array $attributes = []): string
4444
}
4545
$controllers['@symfony/ux-chartjs/chart'] = ['view' => $chart->createView()];
4646

47-
$stimulusAttributes = $this->stimulus->createStimulusAttributes();
47+
$stimulusAttributes = $this->stimulusHelper->createStimulusAttributes();
4848
foreach ($controllers as $name => $controllerValues) {
4949
$stimulusAttributes->addController($name, $controllerValues);
5050
}

0 commit comments

Comments
 (0)