Skip to content

Commit ab395af

Browse files
committed
cs fixer
1 parent d9c18db commit ab395af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Security/InteractiveSecurityHelper.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,16 @@ private function guessUserClassDefault(SymfonyStyle $io)
103103
{
104104
if (class_exists('App\\Entity\\User') && isset(class_implements('App\\Entity\\User')[UserInterface::class])) {
105105
$io->note('Found a default class App\\Entity\\User');
106+
106107
return 'App\\Entity\\User';
107108
}
108109

109110
if (class_exists('App\\Security\\User') && isset(class_implements('App\\Security\\User')[UserInterface::class])) {
110111
$io->note('Found a default class App\\Security\\User');
112+
111113
return 'App\\Security\\User';
112114
}
115+
113116
return $io->error('This value cannot be blank and no default class found');
114117
}
115118

0 commit comments

Comments
 (0)