Make sure you read Issues Guideline and answer these questions before submitting your issue. Thanks!
(Any non-English issues will be closed immediately.)
php -v and php --ri swoole)➜ ~ php -v
PHP 7.2.11 (cli) (built: Oct 11 2018 16:23:09) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.11, Copyright (c) 1999-2018, by Zend Technologies
➜ ~ php --ri swoole
swoole
swoole support => enabled
Version => 4.1.2
Author => Swoole Group[email: [email protected]]
coroutine => enabled
kqueue => enabled
rwlock => enabled
openssl => enabled
pcre => enabled
zlib => enabled
Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.aio_thread_num => 2 => 2
swoole.display_errors => On => On
swoole.use_namespace => On => On
swoole.use_shortname => On => On
swoole.fast_serialize => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608
➜ swoole php artisan -V
Laravel Framework 5.7.15
2.5.0
"Declaration of SwooleTW\Http\Task\SwooleTaskQueue::createStringPayload($job, $data) should be compatible with Illuminate\Queue\Queue::createStringPayload($job, $queue, $data)"
What did you expect to see?
What did you see instead?
Hi @yangliulnn ,
This is kind of embarrassing. See https://laravel.com/api/5.5/Illuminate/Queue/Queue.html#method_createStringPayload and https://laravel.com/api/5.7/Illuminate/Queue/Queue.html#method_createStringPayload
Most helpful comment
174 Here I do some refactoring.