Skip to content

Commit

Permalink
Add missing return type (#30)
Browse files Browse the repository at this point in the history
To fix deprecation:

```
Method "Symfony\Component\DependencyInjection\Extension\ExtensionInterface::load()" might add "void" as a native return type declaration in the future. Do the same in implementation "Zeichen32\GitLabApiBundle\DependencyInjection\Zeichen32GitLabApiExtension" now to avoid errors or add an explicit @return annotation to suppress this message.
```
  • Loading branch information
quentint authored Jan 10, 2024
1 parent 11136b7 commit a06f1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/Zeichen32GitLabApiExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Zeichen32GitLabApiExtension extends Extension
/**
* {@inheritDoc}
*/
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

0 comments on commit a06f1af

Please sign in to comment.