diff --git a/src/Maker/AbstractMaker.php b/src/Maker/AbstractMaker.php index 8341fdd6f..530bae0dd 100644 --- a/src/Maker/AbstractMaker.php +++ b/src/Maker/AbstractMaker.php @@ -41,6 +41,7 @@ protected function writeSuccessMessage(ConsoleStyle $io) $io->newLine(); } + /** @param array $dependencies */ protected function addDependencies(array $dependencies, ?string $message = null): string { $dependencyBuilder = new DependencyBuilder(); diff --git a/src/Maker/MakeListener.php b/src/Maker/MakeListener.php index cd625eb24..df5470c95 100644 --- a/src/Maker/MakeListener.php +++ b/src/Maker/MakeListener.php @@ -138,6 +138,7 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen } } + /** @return void */ public function configureDependencies(DependencyBuilder $dependencies) { } diff --git a/src/Maker/MakeMigration.php b/src/Maker/MakeMigration.php index 88e2a200e..d1043cae0 100644 --- a/src/Maker/MakeMigration.php +++ b/src/Maker/MakeMigration.php @@ -51,6 +51,7 @@ public static function getCommandDescription(): string return 'Create a new migration based on database changes'; } + /** @return void */ public function setApplication(Application $application) { $this->application = $application; @@ -77,7 +78,7 @@ public function configureCommand(Command $command, InputConfiguration $inputConf ; } - /** @return void */ + /** @return void|int */ public function generate(InputInterface $input, ConsoleStyle $io, Generator $generator) { $options = ['doctrine:migrations:diff']; diff --git a/src/Maker/MakeRegistrationForm.php b/src/Maker/MakeRegistrationForm.php index ac69a1ff3..78c83107e 100644 --- a/src/Maker/MakeRegistrationForm.php +++ b/src/Maker/MakeRegistrationForm.php @@ -182,6 +182,7 @@ public function interact(InputInterface $input, ConsoleStyle $io, Command $comma } } + /** @param array $securityData */ private function interactAuthenticatorQuestions(ConsoleStyle $io, InteractiveSecurityHelper $interactiveSecurityHelper, array $securityData): void { // get list of authenticators diff --git a/src/Maker/MakeTest.php b/src/Maker/MakeTest.php index a948a1f1e..b30095af3 100644 --- a/src/Maker/MakeTest.php +++ b/src/Maker/MakeTest.php @@ -56,6 +56,8 @@ public static function getCommandName(): string /** * @deprecated remove this method when removing make:unit-test and make:functional-test + * + * @return string[] */ public static function getCommandAliases(): iterable {