summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorhorus2020-09-18 19:39:30 +0200
committerhorus2020-09-18 19:39:30 +0200
commit54a962cae48d630a562097b85ac70334e7a07d78 (patch)
tree6fba264d5eb20a2b32b7df8a951c824e01f507a8 /app
parent888fe32f5329221ec903e330c79b5d0009fa9c03 (diff)
downloadsenpai-54a962cae48d630a562097b85ac70334e7a07d78.tar.gz
upgrade laravel to 7.2
Diffstat (limited to 'app')
-rw-r--r--app/Console/Kernel.php2
-rw-r--r--app/Exceptions/Handler.php6
2 files changed, 4 insertions, 4 deletions
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);
}