diff --git a/core/lib/Core/Models/MQ.class.php b/core/lib/Core/Models/MQ.class.php index 66b9eb9..1f53d23 100644 --- a/core/lib/Core/Models/MQ.class.php +++ b/core/lib/Core/Models/MQ.class.php @@ -164,7 +164,7 @@ * * @return int|null Идентификатор созданного задания */ - public function add(string $class, string $method, ?array $params = null): ?int + public function addTask(string $class, string $method, ?array $params = null): ?int { if (empty($params)) { $params = [];