Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.3] Pheanstalk driver requires that PheanstalkJob is passed to delete method #16415

Merged
merged 1 commit into from
Nov 15, 2016
Merged

[5.3] Pheanstalk driver requires that PheanstalkJob is passed to delete method #16415

merged 1 commit into from
Nov 15, 2016

Conversation

jodiedunlop
Copy link
Contributor

The deleteMessage() method of Illuminate\Queue\BeanstalkdQueue passes a plain (integer) id to the Pheanstalk driver delete() method, which causes an error due to incompatible signature with the newer versions of Pheanstalk.

This fix wraps the id in a PheanstalkJob object.

Signed-off-by: Jodie Dunlop <jodie.dunlop@rexsoftware.com.au>
@GrahamCampbell GrahamCampbell changed the title Pheanstalk driver requires that PheanstalkJob is passed to delete method [5.3] Pheanstalk driver requires that PheanstalkJob is passed to delete method Nov 15, 2016
@GrahamCampbell
Copy link
Member

Tests failing.

@taylorotwell taylorotwell merged commit f082a26 into laravel:5.3 Nov 15, 2016
@taylorotwell
Copy link
Member

I fixed the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants