1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/17176] Use Symfony name for event dispatcher

The previously used override of the names is no longer supported.

PHPBB3-17176
This commit is contained in:
Marc Alexander
2023-08-19 13:38:02 +02:00
parent 549c818a5c
commit 66b54d4469
32 changed files with 110 additions and 59 deletions

View File

@@ -503,9 +503,9 @@ class phpbb_test_case_helpers
}
// Create an event dispatcher
if ($container->has('dispatcher'))
if ($container->has('event_dispatcher'))
{
$dispatcher = $container->get('dispatcher');
$dispatcher = $container->get('event_dispatcher');
}
else if (isset($phpbb_dispatcher))
{