We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d92441a + bf13154 commit dd70c7eCopy full SHA for dd70c7e
1 file changed
src/Generator.php
@@ -87,7 +87,7 @@ public function generate(string $namespace, string $destinationPath)
87
88
private function className(string $className): string
89
{
90
- return str_replace(['{', '}', '-'], ['Cb', 'Rcb', 'Dash'], (new Convert($className))->toPascal());
+ return str_replace(['{', '}', '-', '$'], ['Cb', 'Rcb', 'Dash', '_'], (new Convert($className))->toPascal());
91
}
92
93
private function cleanUpNamespace(string $namespace): string
0 commit comments