Skip to content

Commit 22ed53c

Browse files
authored
Fix Facade usage
If someone (like me) doesn't allow Debugbar to be auto-discovered by Laravel, the Facade might not be aliased to `Debugbar`. The exception `Class 'Debugbar' not found` would be thrown.
1 parent c39994e commit 22ed53c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Outputs/Debugbar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Illuminate\Support\Collection;
66
use Symfony\Component\HttpFoundation\Response;
77

8-
use Debugbar as LaravelDebugbar;
8+
use Barryvdh\Debugbar\Facade as LaravelDebugbar;
99
use DebugBar\DataCollector\MessagesCollector;
1010

1111
class Debugbar implements Output

0 commit comments

Comments
 (0)