Skip to content

Commit f9f3827

Browse files
authored
Fix typo (laravel#6735)
1 parent a3123a2 commit f9f3827

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scheduling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ In addition to scheduling closures, you may also schedule [Artisan commands](/do
7878

7979
When scheduling Artisan commands using the command's class name, you may pass an array of additional command-line arguments that should be provided to the command when it is invoked:
8080

81-
use App\Console\Commands\SendEmailCommand;
81+
use App\Console\Commands\SendEmailsCommand;
8282

8383
$schedule->command('emails:send Taylor --force')->daily();
8484

85-
$schedule->command(EmailsCommand::class, ['Taylor', '--force'])->daily();
85+
$schedule->command(SendEmailsCommand::class, ['Taylor', '--force'])->daily();
8686

8787
<a name="scheduling-queued-jobs"></a>
8888
### Scheduling Queued Jobs

0 commit comments

Comments
 (0)