This commit is contained in:
2023-12-12 10:56:42 +08:00
parent 3d89612a8e
commit 4ebb7e9686
8 changed files with 16 additions and 16 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
namespace Kiri\Server\Task;
use Exception;
use Kiri;
use Kiri\Server\Constant;
use ReflectionException;
@@ -50,7 +51,7 @@ class Task
* @param int $src_worker_id
* @param mixed $data
* @return mixed
* @throws ReflectionException
* @throws ReflectionException|Exception
*/
public function onTask(Server $server, int $task_id, int $src_worker_id, mixed $data): mixed
{