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
-6
View File
@@ -5,12 +5,8 @@ namespace Kiri\Server\Task;
use Kiri;
use Kiri\Server\Constant;
use Kiri\Server\ServerInterface;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\NotFoundExceptionInterface;
use ReflectionException;
use Swoole\Server;
use Kiri\Di\Inject\Container;
/**
*
@@ -40,8 +36,6 @@ class Task
* @param int $task_id
* @param mixed $data
* @return void
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
* @throws ReflectionException
*/
public function onFinish(Server $server, int $task_id, mixed $data): void