Skip to content

Commit 7102323

Browse files
fix: drops \Exception type for ExceptionHandler (#9)
1 parent 2e09a03 commit 7102323

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/StackdriverExceptionHandler.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22

33
namespace GlueDev\Laravel\Stackdriver;
44

5-
use Exception;
65
use Google\Cloud\Core\Report\SimpleMetadataProvider;
76
use Google\Cloud\ErrorReporting\Bootstrap;
87
use Google\Cloud\Logging\LoggingClient;
98
use Illuminate\Support\Facades\Cache;
109

1110
class StackdriverExceptionHandler
1211
{
13-
public static function report(Exception $exception): void
12+
public static function report($exception): void
1413
{
1514
if (config('stackdriver.enabled') === false || config('stackdriver.error_reporting.enabled') === false) {
1615
return;

0 commit comments

Comments
 (0)