We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0619021 commit 9a75ce5Copy full SHA for 9a75ce5
src/Providers/ConsoleServiceProvider.php
@@ -17,7 +17,7 @@ class ConsoleServiceProvider extends ServiceProvider
17
public function boot()
18
{
19
// TODO: refactor this to resolving callback while 5.5 branching
20
- $this->app->booted(function () {
+ $this->app->booted(function () {
21
if ($this->app->runningInConsole()) {
22
$this->schedule($this->app->make(Schedule::class));
23
}
@@ -34,7 +34,6 @@ public function schedule(Schedule $schedule)
34
$tasks = app('totem.tasks')->findAllActive();
35
36
$tasks->each(function ($task) use ($schedule) {
37
-
38
$event = $schedule->command($task->command, $task->compileParameters(true));
39
40
$event->cron($task->getCronExpression())
0 commit comments