Skip to content

Commit bf13154

Browse files
committed
Clear $ from class name
1 parent d92441a commit bf13154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function generate(string $namespace, string $destinationPath)
8787

8888
private function className(string $className): string
8989
{
90-
return str_replace(['{', '}', '-'], ['Cb', 'Rcb', 'Dash'], (new Convert($className))->toPascal());
90+
return str_replace(['{', '}', '-', '$'], ['Cb', 'Rcb', 'Dash', '_'], (new Convert($className))->toPascal());
9191
}
9292

9393
private function cleanUpNamespace(string $namespace): string

0 commit comments

Comments
 (0)