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

[7.x] Fix doc stub console command #33278

Merged
merged 1 commit into from
Jun 19, 2020

Conversation

sunh-2087
Copy link

@sunh-2087 sunh-2087 commented Jun 19, 2020

In Document Laravel 7.x function handle() return integer.

Symfony Console, which is the underlying component that powers Artisan, expects all commands to return an integer. Therefore, you should ensure that any of your commands which return a value are returning integer

public function handle()
{
    // Before...
    return true;

    // After...
    return 0;
}

@driesvints driesvints changed the title Fix doc stub console command [7.x] Fix doc stub console command Jun 19, 2020
@driesvints driesvints merged commit 266bd4b into laravel:7.x Jun 19, 2020
@driesvints
Copy link
Member

Thanks

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