Skip to content

Commit 9270a75

Browse files
committed
📦 Ensure property have value always to avoid problems with not initialized value
1 parent 1dae2c1 commit 9270a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Name/Generator/ControllerNameGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class ControllerNameGenerator implements NameGeneratorInterface, EventSubscriberInterface
1111
{
12-
private string $controller;
12+
private string $controller = '';
1313

1414
public static function getSubscribedEvents(): array
1515
{

0 commit comments

Comments
 (0)