Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Merge remote-tracking branch 'lavoiesl/patch-1'"

This reverts commit fc7e36d, reversing
changes made to 10fae56.
  • Loading branch information...
commit 84ab6a9b388138fb8374d8a5cc4d9ba5055b9f5c 1 parent 058620b
@igorw authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Evenement/EventEmitterTrait.php
View
2  src/Evenement/EventEmitterTrait.php
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.