Skip to content

Commit

Permalink
fix(exception): use the correct typing for the 'addThrowable' method (b…
Browse files Browse the repository at this point in the history
  • Loading branch information
pataar authored Oct 14, 2022
1 parent ef8f2fa commit 430c52b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/LaravelDebugbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
use DebugBar\Storage\PdoStorage;
use DebugBar\Storage\RedisStorage;
use Exception;
use Throwable;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Session\SessionManager;
use Illuminate\Support\Str;
Expand Down Expand Up @@ -635,7 +636,7 @@ public function addException(Exception $e)
/**
* Adds an exception to be profiled in the debug bar
*
* @param Exception $e
* @param Throwable $e
*/
public function addThrowable($e)
{
Expand Down

0 comments on commit 430c52b

Please sign in to comment.