Update Laravel to v6

This commit is contained in:
Jonny Barnes 2019-10-19 15:34:49 +01:00
parent 6d2b4d55ee
commit ec01b3c6a2
24 changed files with 515 additions and 545 deletions

View file

@ -37,8 +37,9 @@ class Handler extends ExceptionHandler
*
* This is a great spot to send exceptions to Sentry, Bugsnag, etc.
*
* @param \Exception $exception
* @param \Exception $exception
* @return void
* @throws Exception
*/
public function report(Exception $exception)
{
@ -56,7 +57,7 @@ class Handler extends ExceptionHandler
'fallback' => 'There was an exception.',
'pretext' => 'There was an exception.',
'color' => '#d00000',
'author_name' => App::environment(),
'author_name' => app()->environment(),
'author_link' => config('app.url'),
'fields' => [[
'title' => get_class($exception) ?? 'Unkown Exception',