Skip to content

Commit ae6fdc7

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Name/Generator/CommandNameGenerator.php

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

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

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

0 commit comments

Comments
 (0)