From 410e98739c58ccd1b9ad2f49afd77a8d40144515 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Thu, 4 Dec 2014 13:14:32 +0100 Subject: [PATCH] remove 5.4 syntax Fixes #240 --- src/DataCollector/EventCollector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DataCollector/EventCollector.php b/src/DataCollector/EventCollector.php index 9a455235..945564b5 100644 --- a/src/DataCollector/EventCollector.php +++ b/src/DataCollector/EventCollector.php @@ -27,7 +27,7 @@ public function onWildcardEvent() public function subscribe(Dispatcher $events) { $this->events = $events; - $events->listen('*', [$this, 'onWildcardEvent']); + $events->listen('*', array($this, 'onWildcardEvent')); } protected function getCurrentEvent($args)