Skip to content

Commit 8953ff2

Browse files
committed
minor #219 Update README.md (noniagriconomie)
This PR was merged into the 2.x branch. Discussion ---------- Update README.md | Q | A | ------------- | --- | Bug fix? | yes in example | New feature? | no | License | MIT Commits ------- cd383b7 Update README.md
2 parents 582428b + cd383b7 commit 8953ff2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Chartjs/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,11 @@ use Symfony\UX\Chartjs\Model\Chart;
3232

3333
class HomeController extends AbstractController
3434
{
35-
/**
36-
* #[Route('/', name: 'app_homepage')]
37-
*/
35+
#[Route('/', name: 'app_homepage')]
3836
public function index(ChartBuilderInterface $chartBuilder): Response
3937
{
4038
$chart = $chartBuilder->createChart(Chart::TYPE_LINE);
39+
4140
$chart->setData([
4241
'labels' => ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
4342
'datasets' => [

0 commit comments

Comments
 (0)