Skip to content

Commit

Permalink
Merge pull request #76 from BedrockStreaming/fix-future-deprecated
Browse files Browse the repository at this point in the history
Fix future deprecated
  • Loading branch information
Stax authored Feb 7, 2022
2 parents e16bec9 + 3743f85 commit 7a39e5f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @Backend/Api
11 changes: 1 addition & 10 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,9 @@
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;

/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
*/
class Configuration implements ConfigurationInterface
{
/**
* http://symfony.com/fr/doc/current/components/config/definition.html
* {@inheritdoc}
*/
public function getConfigTreeBuilder()
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder('m6web_guzzlehttp');

Expand Down
6 changes: 2 additions & 4 deletions src/M6WebGuzzleHttpBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@

use M6Web\Bundle\GuzzleHttpBundle\DependencyInjection\MiddlewarePass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;

/**
* Class M6WebCassandraBundle
*/
class M6WebGuzzleHttpBundle extends Bundle
{
/**
* {@inheritdoc}
*/
public function getContainerExtension()
public function getContainerExtension(): ?ExtensionInterface
{
return new DependencyInjection\M6WebGuzzleHttpExtension();
}
Expand Down

0 comments on commit 7a39e5f

Please sign in to comment.