Missing the event loop instance as the second argument, should be `call_user_func($listener, $stream, $this);`