Update your code to use resolve
helper when resolving instances from the container.
Before
$this->app->make(Transistor::class);$this->app->makeWith(Transistor::class, ['id' => 1]);app()->make(Transistor::class);app(Transistor::class, ['id' => 1]);
After
resolve(Transistor::class);resolve(Transistor::class, ['id' => 1]);resolve(Transistor::class);resolve(Transistor::class, ['id' => 1]);
Sign in with any of the following services to connect Shift with your Laravel project.
Don't use one of these services?
Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.