Skip to content

feat: add return type for command (deprecated in symfony 6)#257

Merged
kbond merged 1 commit intozenstruck:masterfrom
Chris53897:feature/symfony6-deprecations
Feb 19, 2022
Merged

feat: add return type for command (deprecated in symfony 6)#257
kbond merged 1 commit intozenstruck:masterfrom
Chris53897:feature/symfony6-deprecations

Conversation

@Chris53897
Copy link
Contributor

Method "Symfony\Component\Console\Command\Command::execute()" might add "int" as a native return type declaration in the future. Do the same in child class "Zenstruck\Foundry\Bundle\Command\StubCommand" now to avoid errors or add an explicit @return annotation to suppress this message.

@kbond kbond merged commit 02609a9 into zenstruck:master Feb 19, 2022
@kbond
Copy link
Member

kbond commented Feb 19, 2022

Thanks!

@Chris53897 Chris53897 deleted the feature/symfony6-deprecations branch February 19, 2022 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants