From 54a962cae48d630a562097b85ac70334e7a07d78 Mon Sep 17 00:00:00 2001 From: horus Date: Fri, 18 Sep 2020 19:39:30 +0200 Subject: upgrade laravel to 7.2 --- app/Console/Kernel.php | 2 +- app/Exceptions/Handler.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'app') diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 9c4f298..ee6ae61 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -51,7 +51,7 @@ class Kernel extends ConsoleKernel sleep(10); echo "\nsaveAiringForAll(): \n"; $background->saveAiringForAll(); - })->dailyAt('18:00'); + })->dailyAt('18:30'); #})->everyMinute(); $schedule->call( function(){ diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 364621e..4a4a8d8 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -2,7 +2,7 @@ namespace App\Exceptions; -use Exception; +use Throwable; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; class Handler extends ExceptionHandler @@ -34,7 +34,7 @@ class Handler extends ExceptionHandler * * @throws \Exception */ - public function report(Exception $exception) + public function report(Throwable $exception) { parent::report($exception); } @@ -48,7 +48,7 @@ class Handler extends ExceptionHandler * * @throws \Exception */ - public function render($request, Exception $exception) + public function render($request, Throwable $exception) { return parent::render($request, $exception); } -- cgit v1.2.3