Skip to content

Commit 1c687cf

Browse files
committed
docs(ExceptionNotify): Add shouldReport method
- Add shouldReport method to check if a throwable should be reported or not
1 parent 2d65578 commit 1c687cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Facades/ExceptionNotify.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* @method static void reportIf(mixed $condition, \Throwable $throwable, array|string $channels = null)
2020
* @method static void report(\Throwable $throwable, array|string $channels = null)
2121
* @method static void getDefaultDriver()
22+
* @method static bool shouldReport(\Throwable $throwable)
2223
* @method static mixed driver(null|string $driver = null)
2324
* @method static \Guanguans\LaravelExceptionNotify\ExceptionNotifyManager extend(string $driver, \Closure $callback)
2425
* @method static array getDrivers()

0 commit comments

Comments
 (0)