Skip to content

Commit

Permalink
minor: add return types
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Nov 8, 2023
1 parent 6446a86 commit 6d7c2ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/DependencyInjection/Compiler/RegisterCompilerPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
abstract class RegisterCompilerPass implements CompilerPassInterface
{
final public function process(ContainerBuilder $container)
final public function process(ContainerBuilder $container): void
{
$definitionName = $this->getDefinitionName();

Expand Down
2 changes: 1 addition & 1 deletion src/DependencyInjection/ZenstruckBackupExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ZenstruckBackupExtension extends Extension
/**
* @noinspection PhpUnhandledExceptionInspection
*/
public function load(array $configs, ContainerBuilder $container)
public function load(array $configs, ContainerBuilder $container): void
{
$configuration = $this->getConfiguration($configs, $container);
$config = $this->processConfiguration($configuration, $configs);
Expand Down
2 changes: 1 addition & 1 deletion src/ZenstruckBackupBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
class ZenstruckBackupBundle extends Bundle
{
public function build(ContainerBuilder $container)
public function build(ContainerBuilder $container): void
{
$container->addCompilerPass(new ProfileCompilerPass());
$container->addCompilerPass(new DestinationCompilerPass());
Expand Down

0 comments on commit 6d7c2ed

Please sign in to comment.