Skip to content

Commit b7e7411

Browse files
Update src/Name/Generator/CommandNameGenerator.php
Co-authored-by: Andrii Dembitskyi <[email protected]>
1 parent fed6e15 commit b7e7411

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
@@ -20,7 +20,7 @@ public function __construct(array $generators = [])
2020

2121
public function add(string $regexp, NameGeneratorInterface $generator): CommandNameGenerator
2222
{
23-
$this->generators[sprintf('/%s/', $regexp)] = $generator;
23+
$this->generators[\sprintf('/%s/', $regexp)] = $generator;
2424

2525
return $this;
2626
}

0 commit comments

Comments
 (0)