mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-18 05:04:51 +08:00
Update global_functions.php
This commit is contained in:
parent
6e866001d6
commit
f5d5929cb9
@ -296,7 +296,7 @@ function bot() {
|
||||
function getAllFdByConnectType(string $type = 'default'): array {
|
||||
$fds = [];
|
||||
foreach (ManagerGM::getAllByName($type) as $obj) {
|
||||
array_push($fd, $obj->getFd());
|
||||
$fds[] = $obj->getFd();
|
||||
}
|
||||
return $fds;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user