Skip to content

Commit

Permalink
Merge pull request #82 from dove0012/3.x-chat
Browse files Browse the repository at this point in the history
修复BroadcastTask extends继承 AbstractAsyncTask 重写run方法缺少$flags参数的问题
  • Loading branch information
evalor authored Jan 16, 2019
2 parents 338648e + 10d9588 commit 7e06b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App/Task/BroadcastTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class BroadcastTask extends AbstractAsyncTask
* @param $fromWorkerId
* @return bool
*/
function run($taskData, $taskId, $fromWorkerId)
function run($taskData, $taskId, $fromWorkerId,$flags = null)
{
$redis = Redis::getInstance()->getConnect();
$users = $redis->hGetAll(AppConst::REDIS_ONLINE_KEY);
Expand Down

0 comments on commit 7e06b59

Please sign in to comment.