Pārlūkot izejas kodu

Update LibEventLoop.php

walkor 7 gadi atpakaļ
vecāks
revīzija
87908b251d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Events/React/LibEventLoop.php

+ 1 - 1
Events/React/LibEventLoop.php

@@ -99,7 +99,7 @@ class LibEventLoop extends \React\EventLoop\LibEventLoop
             case EventInterface::EV_SIGNAL:
                 return $this->removeSignal($fd);
             case EventInterface::EV_TIMER:
-            case EventInterface::EV_TIMER_ONCE;
+            case EventInterface::EV_TIMER_ONCE:
                 if (isset($this->_timerIdMap[$fd])){
                     $timer_obj = $this->_timerIdMap[$fd];
                     unset($this->_timerIdMap[$fd]);