Skip to content

Commit

Permalink
remove 5.4 syntax
Browse files Browse the repository at this point in the history
Fixes #240
  • Loading branch information
barryvdh committed Dec 4, 2014
1 parent 4d8a42f commit 410e987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataCollector/EventCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 410e987

Please sign in to comment.