Skip to content

Commit

Permalink
Update Lumen typehint (#7314)
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric committed Jul 3, 2023
1 parent ebb6064 commit ceba822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/php/guides/laravel/other-versions/lumen.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ require __DIR__ . '/../app/Http/routes.php';
Add Sentry reporting to `app/Exceptions/Handler.php`:

```php {filename:app/Exceptions/Handler.php}
public function report(Exception $exception)
public function report(Throwable $exception)
{
if (app()->bound('sentry') && $this->shouldReport($exception)) {
app('sentry')->captureException($exception);
Expand Down

1 comment on commit ceba822

@vercel
Copy link

@vercel vercel bot commented on ceba822 Jul 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sentry-docs – ./

sentry-docs.sentry.dev
docs.sentry.io
sentry-docs-git-master.sentry.dev

Please sign in to comment.