Commit Graph

6 Commits

Author SHA1 Message Date
NiZerin98
62b77a6355
Update task.md
PHP Fatal error:  Uncaught TypeError: Argument 2 passed to Hyperf\Task\Task::__construct() must be of the type array, int given, called in /mnt/hgfs/F/php/hyperf-im/app/Http/Ws/ChatLogController.php on line 39 and defined in /mnt/hgfs/F/php/hyperf-im/vendor/hyperf/task/src/Task.php:27
Stack trace:
#0 /mnt/hgfs/F/php/hyperf-im/app/Http/Ws/ChatLogController.php(39): Hyperf\Task\Task->__construct(Array, 6)
#1 /mnt/hgfs/F/php/hyperf-im/app/Http/Ws/MessageController.php(40): App\Http\Ws\ChatLogController->saveChatLog()
#2 /mnt/hgfs/F/php/hyperf-im/app/Http/Ws/RoomController.php(48): App\Http\Ws\MessageController->formatMsgData(Object(stdClass))
#3 /mnt/hgfs/F/php/hyperf-im/app/Http/Ws/RoomController.php(34): App\Http\Ws\RoomController->sendMsg(Object(stdClass))
#4 /mnt/hgfs/F/php/hyperf-im/app/Http/Ws/RoomWebSocket.php(28): App\Http\Ws\RoomController->checkData(Object(Swoole\WebSocket\Frame), Object(Swoole\WebSocket\Server))
#5 /mnt/hgfs/F/php/hyperf-im/vendor/hyperf/websocket-server/src/Server.php(165): App\Http\Ws\RoomWebSocket-> in /mnt/hgfs/F/php/hyperf-im/vendor/hyperf/task/src/Task.php on line 27
2019-07-31 16:26:40 +08:00
李铭昕
2ae2b45282 Update task.md 2019-07-24 13:48:17 +08:00
李铭昕
5b614b6e3c Added how to use mongo in task. 2019-07-24 13:42:59 +08:00
huangzhhui
ddb20a1026 Optimized 2019-07-22 02:06:27 +08:00
李铭昕
d90206d21c Update task.md 2019-07-16 11:07:36 +08:00
李铭昕
f0386be6ca Added doc for task. 2019-07-16 11:05:06 +08:00