File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public static function sleep($time)
5050 return ;
5151 }
5252 if (self ::$ coroutine instanceof FiberCoroutine) {
53- WorkermanDriver::getInstance ()->getEventLoop ()->addTimer ($ time * 1000 , function () use ($ cid ) {
53+ WorkermanDriver::getInstance ()->getEventLoop ()->addTimer (intval ( $ time * 1000 ) , function () use ($ cid ) {
5454 self ::$ coroutine ->resume ($ cid );
5555 });
5656 self ::$ coroutine ->suspend ();
Original file line number Diff line number Diff line change 44
55namespace OneBot \V12 \Object ;
66
7- use ReturnTypeWillChange ;
8-
97class MessageSegment implements \JsonSerializable, \IteratorAggregate
108{
119 /** @var string 类型 */
Original file line number Diff line number Diff line change 1313use ZM \Logger \ConsoleLogger ;
1414
1515const ONEBOT_VERSION = '12 ' ;
16- const ONEBOT_LIBOB_VERSION = '0.5.10 ' ;
16+ const ONEBOT_LIBOB_VERSION = '0.5.11 ' ;
1717
1818const ONEBOT_JSON = 1 ;
1919const ONEBOT_MSGPACK = 2 ;
You can’t perform that action at this time.
0 commit comments