Skip to content

Commit

Permalink
Merge pull request #134 from Julian-Louis/patch-1
Browse files Browse the repository at this point in the history
Add type declaration to avoid warnings
  • Loading branch information
tgalopin authored Aug 21, 2023
2 parents 2a09dad + 32f3e5e commit 81be9e4
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/LazyFactoryPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class LazyFactoryPass implements CompilerPassInterface
/**
* {@inheritdoc}
*/
public function process(ContainerBuilder $container)
public function process(ContainerBuilder $container): void
{
$factories = [];
foreach ($container->findTaggedServiceIds('flysystem.storage') as $serviceId => $tags) {
Expand Down
2 changes: 1 addition & 1 deletion src/DependencyInjection/FlysystemExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/
class FlysystemExtension extends Extension
{
public function load(array $configs, ContainerBuilder $container)
public function load(array $configs, ContainerBuilder $container): void
{
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
Expand Down
2 changes: 1 addition & 1 deletion src/FlysystemBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class FlysystemBundle extends Bundle
/**
* {@inheritdoc}
*/
public function build(ContainerBuilder $container)
public function build(ContainerBuilder $container): void
{
parent::build($container);

Expand Down

0 comments on commit 81be9e4

Please sign in to comment.