Closed Mirocow closed 6 years ago
Please upgrade workerman. This issue fixed in version 3.5.6.
I met the same problem, I had updated Workerman to version 3.5.6, but it didn't work
Fatal error: Declaration of Workerman\Events\React\Base::addReadStream() must be compatible with React\EventLoop\LoopInterface::addReadStream($stream, callable $listener) in /home/work/poisonbian/god/ThinkPHP_3.1.3/Extend/Vendor/Workerman/Events/React/Base.php on line 23
class Worker { /**
@var string */ const VERSION = '3.5.6';
/**
What is the version of react/event-loop
?
Please try to update the latest version of react/event-loop
.