瀏覽代碼

Update GearmanClient.php

Fixed typo on line 436
GEARMAN_METHOD_ADDTASKNACKGROUND  ==>  GEARMAN_METHOD_ADDTASKBACKGROUND
nkornev 11 年之前
父節點
當前提交
49da8cdb2a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Service/GearmanClient.php

+ 1 - 1
Service/GearmanClient.php

@@ -433,7 +433,7 @@ class GearmanClient extends AbstractGearmanService
      */
     public function addTaskBackground($name, $params = '', &$context = null, $unique = null)
     {
-        $this->enqueueTask($name, $params, $context, $unique, GearmanMethods::GEARMAN_METHOD_ADDTASKNACKGROUND);
+        $this->enqueueTask($name, $params, $context, $unique, GearmanMethods::GEARMAN_METHOD_ADDTASKBACKGROUND);
 
         return $this;
     }