This commit is contained in:
2020-09-11 15:01:22 +08:00
parent 48e2580c8f
commit 3bbd3e7c4e
6 changed files with 27 additions and 13 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ class Running extends \Queue\Abstracts\Queue
* @return false|int
* @throws ComponentException
*/
public function del(Consumer $consumer)
public function del(string $consumer)
{
return $this->pop(self::QUEUE_RUNNING, $consumer);
}