Skip to content

Commit

Permalink
Merge pull request #56 from duxthefux/laravel-7-fix
Browse files Browse the repository at this point in the history
Fixed wrong type hint of DebuggerManager::exceptionHandler()
  • Loading branch information
recca0120 authored May 5, 2020
2 parents a2f6ebe + c28a7fd commit 9792a6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DebuggerManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace Recca0120\LaravelTracy;

use ErrorException;
use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Arr;
use Throwable;
use Tracy\Bar;
use Tracy\BlueScreen;
use Tracy\Debugger;
Expand Down Expand Up @@ -224,7 +224,7 @@ public function shutdownHandler($content, $ajax = false, $error = null)
* @param \Exception $exception
* @return string
*/
public function exceptionHandler(Exception $exception)
public function exceptionHandler(Throwable $exception)
{
return $this->renderBuffer(function () use ($exception) {
Helpers::improveException($exception);
Expand Down

0 comments on commit 9792a6f

Please sign in to comment.