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

Add Laravel app instance to command #146

Merged
merged 1 commit into from
Mar 17, 2022
Merged

Conversation

driesvints
Copy link
Member

@driesvints driesvints commented Mar 17, 2022

In #144 we solved the issue that none of the existing artisan commands were working anymore in Tinker. An additional fix is needed to set the Laravel app instance on the resolved commands so custom commands can keep on
working. We can achieve this with how the original resolve method worked before the lazy load changes by using the add method that'll set the Laravel instance.

Fixes #145

@taylorotwell taylorotwell merged commit c779c31 into 2.x Mar 17, 2022
@taylorotwell taylorotwell deleted the fix-missing-laravel-instance branch March 17, 2022 13:42
@Brenneisen
Copy link

Hi @driesvints, could you tag a patch release? Thanks!

@driesvints
Copy link
Member Author

@Brenneisen you were a few seconds too early. I was just tagging a release 🙂

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.

PHP Error: Call to a member function make() on null
3 participants