Skip to content

Commit ffc7afa

Browse files
arcostasicebe
authored andcommitted
Redefinition of parameter underscore fixed for PHP 7
1 parent acc8171 commit ffc7afa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LibEventLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ private function unsubscribeStreamEvent($stream, $flag)
298298
*/
299299
private function createTimerCallback()
300300
{
301-
$this->timerCallback = function ($_, $_, $timer) {
301+
$this->timerCallback = function ($fd, $ev, $timer) {
302302
call_user_func($timer->getCallback(), $timer);
303303

304304
// Timer already cancelled ...

0 commit comments

Comments
 (0)