src/Helpers/LoopTrait.php
Property \Nopolabs\Yabot\Helpers\LoopTrait->loop
has undeclared type \React\EventLoop\LoopInterface
Open
Open
private $loop;
- Exclude checks
Return type of getLoop()
is undeclared type \React\EventLoop\LoopInterface
Open
Open
protected function getLoop() : LoopInterface
- Exclude checks
Call to method addTimer
from undeclared class \React\EventLoop\LoopInterface
Open
Open
$this->getLoop()->addTimer($interval, $this->callable($function));
- Exclude checks
Parameter $loop
has undeclared type \React\EventLoop\LoopInterface
Open
Open
protected function setLoop(LoopInterface $loop)
- Exclude checks
Call to method cancelTimer
from undeclared class \React\EventLoop\LoopInterface
Open
Open
$this->getLoop()->cancelTimer($timer);
- Exclude checks
Call to method addPeriodicTimer
from undeclared class \React\EventLoop\LoopInterface
Open
Open
$this->getLoop()->addPeriodicTimer($interval, $this->callable($function));
- Exclude checks
Parameter $timer
has undeclared type \React\EventLoop\Timer\TimerInterface
Open
Open
protected function cancelTimer(TimerInterface $timer)
- Exclude checks
Expected 1 space after FUNCTION keyword; 0 found Open
Open
return function() use ($function) {
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks