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 d9c18db commit ab395afCopy full SHA for ab395af
src/Security/InteractiveSecurityHelper.php
@@ -103,13 +103,16 @@ private function guessUserClassDefault(SymfonyStyle $io)
103
{
104
if (class_exists('App\\Entity\\User') && isset(class_implements('App\\Entity\\User')[UserInterface::class])) {
105
$io->note('Found a default class App\\Entity\\User');
106
+
107
return 'App\\Entity\\User';
108
}
109
110
if (class_exists('App\\Security\\User') && isset(class_implements('App\\Security\\User')[UserInterface::class])) {
111
$io->note('Found a default class App\\Security\\User');
112
113
return 'App\\Security\\User';
114
115
116
return $io->error('This value cannot be blank and no default class found');
117
118
0 commit comments