Skip to content

Commit a8c6074

Browse files
committed
fix(maker-bundle): Correct bug related to namespace detection
1 parent 0624f13 commit a8c6074

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
@@ -188,7 +188,7 @@ public function createClassNameDetails(string $name, string $namespacePrefix, st
188188
$className = Str::asClassName($name, $suffix);
189189

190190
try {
191-
Validator::classDoesNotExist($className);
191+
Validator::classDoesNotExist(\sprintf('%s/%s', $namespacePrefix, $className));
192192
$className = rtrim($fullNamespacePrefix, '\\').'\\'.$className;
193193
} catch (RuntimeCommandException) {
194194
}

0 commit comments

Comments
 (0)