dusterio / laravel-plain-sqs

Custom SQS connector for Laravel (or Lumen) that supports third-party, plain JSON messages
MIT License
131 stars 92 forks source link

Update for laravel 5.8 #29

Open acavanagh opened 5 years ago

acavanagh commented 5 years ago

It seems like this might need an update for laravel 5.8. I used in a 5.8 project recently and got the following error: Argument 3 passed to Illuminate\Queue\Jobs\SqsJob::__construct() must be of the type array, string given, called in /path/to/app/vendor/dusterio/laravel-plain-sqs/src/Sqs/Queue.php on line 79. I've made a pr here: https://github.com/dusterio/laravel-plain-sqs/pull/28 that addresses it but you might want to consider reversing the logic and checking to see if it's under version 5.4 so you don't have to keep updating it.