Skip to content

Commit ceba822

Browse files
authored
Update Lumen typehint (#7314)
1 parent ebb6064 commit ceba822

File tree

1 file changed

+1
-1
lines changed
  • src/platforms/php/guides/laravel/other-versions

1 file changed

+1
-1
lines changed

src/platforms/php/guides/laravel/other-versions/lumen.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ require __DIR__ . '/../app/Http/routes.php';
3333
Add Sentry reporting to `app/Exceptions/Handler.php`:
3434

3535
```php {filename:app/Exceptions/Handler.php}
36-
public function report(Exception $exception)
36+
public function report(Throwable $exception)
3737
{
3838
if (app()->bound('sentry') && $this->shouldReport($exception)) {
3939
app('sentry')->captureException($exception);

0 commit comments

Comments
 (0)