Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Mar 20, 2024
1 parent 1fa2457 commit 21cec34
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,10 @@ class ServiceProvider extends \Illuminate\Support\ServiceProvider

public function boot()
{

//Check if snooze should schedule the commands automatically
if (config('snooze.scheduleCommands', true)) {

// Schedule base command to run every minute
$this->app->booted(function () {

//Ensure the schedule is available if snooze is disabled but a prune age is set
$schedule = $this->app->make(Schedule::class);

Expand Down

0 comments on commit 21cec34

Please sign in to comment.