diff --git a/src/Generator.php b/src/Generator.php index dfc56d0bd..98f7d83f7 100644 --- a/src/Generator.php +++ b/src/Generator.php @@ -192,7 +192,7 @@ public function createClassNameDetails(string $name, string $namespacePrefix, st if (!empty($namespacePrefix) && empty($suffix)) { $check = \sprintf('%s\%s', $namespacePrefix, $check); } - Validator::classDoesNotExist($check); + Validator::classDoesNotExist($check); $className = rtrim($fullNamespacePrefix, '\\').'\\'.$className; } catch (RuntimeCommandException) {