We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1ec0bf commit cdaa038Copy full SHA for cdaa038
app/Console/Kernel.php
@@ -3,6 +3,7 @@
3
namespace App\Console;
4
5
use App\Mail\WeeklyReport;
6
+use App\Report;
7
use App\Slack;
8
use Illuminate\Console\Scheduling\Schedule;
9
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
@@ -30,7 +31,7 @@ protected function schedule(Schedule $schedule)
30
31
{
32
$isLatestWorkingDay = function () {
33
$today = now(config('app.report_timezone'));
- $lastWorkingDay = App\Report::lastWorkingDayOfWeek();
34
+ $lastWorkingDay = Report::lastWorkingDayOfWeek();
35
36
return $today->isSameDay($lastWorkingDay);
37
};
0 commit comments