diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 37266ca5d..593ce8fe1 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -120,8 +120,8 @@ class Kernel extends ConsoleKernel return; } foreach ($scheduled_tasks as $scheduled_task) { - $service = $scheduled_task->service()->get(); - $application = $scheduled_task->application()->get(); + $service = $scheduled_task->service()->first(); + $application = $scheduled_task->application()->first(); if (!$application && !$service) { ray('application/service attached to scheduled task does not exist');