Skip to content

Commit bb6fa6b

Browse files
committed
refactor: throw directly ResourceAlreadyExistsException instead of ClassAlreadyExistsException
1 parent 254134e commit bb6fa6b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Generators/EntityGenerator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ protected function getClassPath(string $path, string $name, ?string $subFolder =
155155
$path = $this->getPath($path, $subFolder);
156156

157157
return base_path("{$path}/{$name}.php");
158-
159158
}
160159

161160
protected function saveClass($path, $name, $content, ?string $entityFolder = null): string

0 commit comments

Comments
 (0)