Skip to content

Commit 32ffe3c

Browse files
committed
Remove - in class names
1 parent 771af7e commit 32ffe3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tool/Generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ private function generateObject(string $class, array $properties) : void
451451

452452
private function getClassName(string $path) : string
453453
{
454-
$parts = \explode('/', $path);
454+
$parts = \explode('/', \str_replace('-', '', $path));
455455
$className = '';
456456

457457
foreach ($parts as $part)

0 commit comments

Comments
 (0)