Skip to content

Commit

Permalink
Add type hint to FixturesLoadCommand
Browse files Browse the repository at this point in the history
Fix error phpstan

  Line   Command/FixturesLoadCommand.php
 ------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  112    Return type mixed of method Propel\Bundle\PropelBundle\Command\FixturesLoadCommand::execute() is not covariant with return type int of method Symfony\Component\Console\Command\Command::execute().
  • Loading branch information
LDA committed Sep 2, 2024
1 parent 9e1a16a commit 486693b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Command/FixturesLoadCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected function configure(): void
/**
* {@inheritdoc}
*/
protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
$this->filesystem = new Filesystem();

Expand Down

0 comments on commit 486693b

Please sign in to comment.