Skip to content

Commit

Permalink
Revert "Merge remote-tracking branch 'lavoiesl/patch-1'"
Browse files Browse the repository at this point in the history
This reverts commit fc7e36d, reversing
changes made to 10fae56.
  • Loading branch information
igorw committed Sep 4, 2012
1 parent 058620b commit 84ab6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Evenement/EventEmitterTrait.php
Expand Up @@ -29,7 +29,7 @@ public function once($event, callable $listener)
$onceListener = function () use (&$onceListener, $event, $listener) {
$this->removeListener($event, $onceListener);

$listener($event, $listener);
call_user_func_array($listener, func_get_args());
};

$this->on($event, $onceListener);
Expand Down

0 comments on commit 84ab6a9

Please sign in to comment.