mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 05:34:01 +02:00
[ticket/16346] Fix method arguments
PHPBB3-16346
This commit is contained in:
@@ -15,7 +15,7 @@ class phpbb_event_dispatcher_test extends phpbb_test_case
|
||||
{
|
||||
public function test_trigger_event()
|
||||
{
|
||||
$dispatcher = new \phpbb\event\dispatcher(new phpbb_mock_container_builder());
|
||||
$dispatcher = new \phpbb\event\dispatcher();
|
||||
|
||||
$dispatcher->addListener('core.test_event', function (\phpbb\event\data $event) {
|
||||
$event['foo'] = $event['foo'] . '2';
|
||||
|
Reference in New Issue
Block a user