8000 Change the ExtensionInterface load method definition to bo identical … · symfony/symfony@85c271b · GitHub
[go: up one dir, main page]

Skip to content

Commit 85c271b

Browse files
mmarchoisfabpot
authored andcommitted
Change the ExtensionInterface load method definition to bo identical to the documentation.
1 parent e6d5de5 commit 85c271b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/FirewallEntryPointBundle/DependencyInjection/FirewallEntryPointExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
class FirewallEntryPointExtension extends Extension
2020
{
21-
public function load(array $config, ContainerBuilder $container)
21+
public function load(array $configs, ContainerBuilder $container)
2222
{
2323
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
2424
$loader->load('services.xml');

src/Symfony/Component/DependencyInjection/Extension/ExtensionInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ interface ExtensionInterface
2323
/**
2424
* Loads a specific configuration.
2525
*
26-
* @param array $config An array of configuration values
26+
* @param array $configs An array of configuration values
2727
* @param ContainerBuilder $container A ContainerBuilder instance
2828
*
2929
* @throws \InvalidArgumentException When provided tag is not defined in this extension
3030
*/
31-
public function load(array $config, ContainerBuilder $container);
31+
public function load(array $configs, ContainerBuilder $container);
3232

3333
/**
3434
* Returns the namespace to be used for this extension (XML namespace).

0 commit comments

Comments
 (0)
0