Skip to content

Commit cdaa038

Browse files
Import class
1 parent a1ec0bf commit cdaa038

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Console/Kernel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace App\Console;
44

55
use App\Mail\WeeklyReport;
6+
use App\Report;
67
use App\Slack;
78
use Illuminate\Console\Scheduling\Schedule;
89
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
@@ -30,7 +31,7 @@ protected function schedule(Schedule $schedule)
3031
{
3132
$isLatestWorkingDay = function () {
3233
$today = now(config('app.report_timezone'));
33-
$lastWorkingDay = App\Report::lastWorkingDayOfWeek();
34+
$lastWorkingDay = Report::lastWorkingDayOfWeek();
3435

3536
return $today->isSameDay($lastWorkingDay);
3637
};

0 commit comments

Comments
 (0)