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 7af266f commit 691db2cCopy full SHA for 691db2c
src/App/Traits/ExceptionNotificationHandlerTrait.php
@@ -32,7 +32,7 @@ trait ExceptionNotificationHandlerTrait
32
* @param Throwable $exception
33
* @return void
34
*/
35
- public function report(Throwable $exception)
+ public function report(Throwable $e): void
36
{
37
$enableEmailExceptions = config('exceptions.emailExceptionEnabled');
38
@@ -41,12 +41,12 @@ public function report(Throwable $exception)
41
}
42
43
if ($enableEmailExceptions) {
44
- if ($this->shouldReport($exception)) {
45
- $this->sendEmail($exception);
+ if ($this->shouldReport($e)) {
+ $this->sendEmail($e);
46
47
48
49
- parent::report($exception);
+ parent::report($e);
50
51
52
/**
0 commit comments