Skip to content

Commit

Permalink
Update DownCommand.php
Browse files Browse the repository at this point in the history
As per Taylor's comment, now only passing along the Down command's options to the pre-rendering view, instead of the entire command instance.
  • Loading branch information
npostman committed Nov 25, 2020
1 parent 8bbbe42 commit a0b8812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Console/DownCommand.php
Expand Up @@ -100,7 +100,7 @@ protected function prerenderView()
{
(new RegisterErrorViewPaths)();

return view($this->option('render'), ['command' => $this])->render();
return view($this->option('render'), ['options' => $this->options()])->render();
}

/**
Expand Down

0 comments on commit a0b8812

Please sign in to comment.