mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/event-dispatcher] Braces CS fix
PHPBB3-9550
This commit is contained in:
parent
28b67d24e4
commit
7aef3eb7b3
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,8 @@ class phpbb_event_extension_subscriber_loader
|
||||||
->core_path('event/')
|
->core_path('event/')
|
||||||
->get_classes();
|
->get_classes();
|
||||||
|
|
||||||
foreach ($subscriber_classes as $class) {
|
foreach ($subscriber_classes as $class)
|
||||||
|
{
|
||||||
$subscriber = new $class();
|
$subscriber = new $class();
|
||||||
$this->dispatcher->addSubscriber($subscriber);
|
$this->dispatcher->addSubscriber($subscriber);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue