This commit is contained in:
2023-10-24 17:22:28 +08:00
parent a1d80c3315
commit f8b557d88a
8 changed files with 11 additions and 41 deletions
+7 -7
View File
@@ -12,13 +12,13 @@ interface OnReceiveInterface
{
/**
* @param Server $server
* @param int $fd
* @param int $reactor_id
* @param string $data
* @return void
*/
/**
* @param Server $server
* @param int $fd
* @param int $reactor_id
* @param string $data
* @return bool
*/
public function onReceive(Server $server, int $fd, int $reactor_id, string $data): bool;