Skip to content

Commit

Permalink
API Update return type to match Symfony 7 (#49)
Browse files Browse the repository at this point in the history
We have determined that this exception to our definition of public API
is acceptable, as the likelihood of someone overriding methods in this
repository is very low, and this change will allow for a greater range
of installations for longer.

Co-authored-by: nlighteneddesign <[email protected]>
  • Loading branch information
GuySartorelli and nlighteneddesign authored Feb 19, 2025
1 parent bc7128e commit 57d785d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/RequireRecipeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function configure()
);
}

public function execute(InputInterface $input, OutputInterface $output)
public function execute(InputInterface $input, OutputInterface $output): int
{
$recipe = $input->getArgument('recipe');
$constraint = $input->getArgument('version');
Expand Down
2 changes: 1 addition & 1 deletion src/UpdateRecipeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function configure()
);
}

public function execute(InputInterface $input, OutputInterface $output)
public function execute(InputInterface $input, OutputInterface $output): int
{
$recipe = $input->getArgument('recipe');
$constraint = $input->getArgument('version');
Expand Down

0 comments on commit 57d785d

Please sign in to comment.