Skip to content

Commit a8701cf

Browse files
committed
📦 Ensure property have value always to avoid problems with not initialized value
1 parent 26386d6 commit a8701cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Name/Generator/RequestNameGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class RequestNameGenerator implements NameGeneratorInterface, EventSubscriberInt
1111
{
1212
private array $generators;
1313

14-
private string $route;
14+
private string $route = '';
1515

1616
public function __construct(array $generators = [])
1717
{

0 commit comments

Comments
 (0)