mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
[feature/dic] Coding style: Braces
PHPBB3-10739
This commit is contained in:
@@ -31,8 +31,10 @@ class phpbb_di_processor_ext implements phpbb_di_processor_interface
|
||||
public function process(ContainerBuilder $container)
|
||||
{
|
||||
$enabled_exts = $this->extension_manager->all_enabled();
|
||||
foreach ($enabled_exts as $name => $path) {
|
||||
if (file_exists($path . '/config/services.yml')) {
|
||||
foreach ($enabled_exts as $name => $path)
|
||||
{
|
||||
if (file_exists($path . '/config/services.yml'))
|
||||
{
|
||||
$loader = new YamlFileLoader($container, new FileLocator($path . '/config'));
|
||||
$loader->load('services.yml');
|
||||
}
|
||||
|
Reference in New Issue
Block a user