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] Add \DateTime to possible types for delay function in Queueable interface #15826

Merged
merged 1 commit into from
Oct 8, 2016
Merged

Conversation

aaronhuisinga
Copy link

In examples on the Laravel website, it demonstrates passing a DateTime Carbon object into the delay() function on queueable jobs. While it functions correctly currently, my IDE tells me it's not a correct type (as the docblock only specifies int and null). This fixes the IDE arguing with a correct call.

Note that the actual definition of the variable inside of the class specifies the correct possible types, but the function itself does not.

@taylorotwell taylorotwell merged commit b857da2 into laravel:5.3 Oct 8, 2016
@GrahamCampbell GrahamCampbell changed the title Add \DateTime to possible types for delay function in Queueable class [5.3] Add \DateTime to possible types for delay function in Queueable interface Oct 9, 2016
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.

2 participants