Skip to content

Commit 3bf871f

Browse files
committed
Fix GateCollector (+5.4 syntax)
Fixes barryvdh#439
1 parent 974fd16 commit 3bf871f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaravelDebugbar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ function ($query, $bindings = null, $time = null, $connectionName = null) use ($
369369

370370
if ($this->shouldCollect('gate', false)) {
371371
try {
372-
$gateCollector = $this->app->make(GateCollector::class);
372+
$gateCollector = $this->app->make('Barryvdh\Debugbar\DataCollector\GateCollector');
373373
$this->addCollector($gateCollector);
374374
} catch (\Exception $e){
375375
// No Gate collector

0 commit comments

Comments
 (0)