File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Illuminate/Foundation/Exceptions Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -121,11 +121,11 @@ class Handler implements ExceptionHandlerContract
121
121
];
122
122
123
123
/**
124
- * Indicates that exception reporting should be deduplicated .
124
+ * Indicates that an exception instance should only be reported once .
125
125
*
126
126
* @var bool
127
127
*/
128
- protected $ deduplicateReporting = false ;
128
+ protected $ withoutDuplicates = false ;
129
129
130
130
/**
131
131
* The already reported exception map.
@@ -326,7 +326,7 @@ public function shouldReport(Throwable $e)
326
326
*/
327
327
protected function shouldntReport (Throwable $ e )
328
328
{
329
- if ($ this ->deduplicateReporting && ($ this ->reportedExceptionMap [$ e ] ?? false )) {
329
+ if ($ this ->withoutDuplicates && ($ this ->reportedExceptionMap [$ e ] ?? false )) {
330
330
return true ;
331
331
}
332
332
@@ -816,7 +816,7 @@ public function renderForConsole($output, Throwable $e)
816
816
*/
817
817
public function dontReportDuplicates ()
818
818
{
819
- $ this ->deduplicateReporting = true ;
819
+ $ this ->withoutDuplicates = true ;
820
820
821
821
return $ this ;
822
822
}
You can’t perform that action at this time.
0 commit comments