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.
1 parent f890e39 commit 5d852eeCopy full SHA for 5d852ee
src/Php/PhpClass.php
@@ -76,7 +76,7 @@ public function getLogicalName(): string
76
*/
77
public function getClassNameAlias(): string
78
{
79
- return str_replace(['.', '[', ']'], '_', $this->getLogicalName());
+ return str_replace(['-', '.', '[', ']'], ['', '_', '_', '_'], $this->getLogicalName());
80
}
81
82
public function getClassType(): PhpType
0 commit comments