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.7] Fix artisan PendingCommand run method return value #25577

Merged
merged 1 commit into from
Sep 11, 2018
Merged

[5.7] Fix artisan PendingCommand run method return value #25577

merged 1 commit into from
Sep 11, 2018

Conversation

antonkomarev
Copy link
Contributor

@antonkomarev antonkomarev commented Sep 11, 2018

Moved hasExecuted check to __destruct method because it's the only place where we need to be sure that command call wouldn't be duplicated.
Otherwise we will require to change signature of the run method. Right now it must return integer only.

@taylorotwell taylorotwell merged commit df72d41 into laravel:5.7 Sep 11, 2018
@antonkomarev antonkomarev deleted the fix/invalid-pending-command-return-value branch September 11, 2018 15:16
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