@@ -280,7 +280,8 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen
280
280
);
281
281
}
282
282
283
- private function generateAuthenticatorClass (array $ securityData , string $ authenticatorType , string $ authenticatorClass , $ userClass , $ userNameField , bool $ supportRememberMe ): void
283
+ /** @param array<mixed> $securityData */
284
+ private function generateAuthenticatorClass (array $ securityData , string $ authenticatorType , string $ authenticatorClass , ?string $ userClass , ?string $ userNameField , bool $ supportRememberMe ): void
284
285
{
285
286
$ useStatements = new UseStatementGenerator ([
286
287
Request::class,
@@ -401,7 +402,8 @@ private function generateFormLoginFiles(string $controllerClass, string $userNam
401
402
);
402
403
}
403
404
404
- private function generateNextMessage (bool $ securityYamlUpdated , string $ authenticatorType , string $ authenticatorClass , $ userClass , bool $ logoutSetup , bool $ supportRememberMe , bool $ alwaysRememberMe ): array
405
+ /** @return string[] */
406
+ private function generateNextMessage (bool $ securityYamlUpdated , string $ authenticatorType , string $ authenticatorClass , ?string $ userClass , bool $ logoutSetup , bool $ supportRememberMe , bool $ alwaysRememberMe ): array
405
407
{
406
408
$ nextTexts = ['Next: ' ];
407
409
$ nextTexts [] = '- Customize your new authenticator. ' ;
@@ -432,6 +434,7 @@ private function generateNextMessage(bool $securityYamlUpdated, string $authenti
432
434
return $ nextTexts ;
433
435
}
434
436
437
+ /** @param array<mixed> $securityData */
435
438
private function userClassHasEncoder (array $ securityData , string $ userClass ): bool
436
439
{
437
440
$ userNeedsEncoder = false ;
0 commit comments