diff --git a/src/Support/ScheduledTasks/Tasks/CommandTask.php b/src/Support/ScheduledTasks/Tasks/CommandTask.php index 3e65470..3b1f7e2 100644 --- a/src/Support/ScheduledTasks/Tasks/CommandTask.php +++ b/src/Support/ScheduledTasks/Tasks/CommandTask.php @@ -14,7 +14,7 @@ public static function canHandleEvent(Event $event): bool return false; } - return str_contains($event->command, "'artisan'"); + return Str::contains($event->command, "'artisan'"); } public function defaultName(): ?string