From 736d61669c1baa7103a479ebd62c7174ee603c2a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 14 Apr 2017 14:04:09 +0200 Subject: [PATCH] Set default data --- Event/EventManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Event/EventManager.php b/Event/EventManager.php index 77739b48c..a47f9a387 100644 --- a/Event/EventManager.php +++ b/Event/EventManager.php @@ -75,7 +75,7 @@ class EventManager /** * {@inheritdoc} */ - public function trigger(string $group, string $id = '', $data) /* : void */ + public function trigger(string $group, string $id = '', $data = null) /* : void */ { if(!isset($this->callbacks[$group])) { return;