Skip to content

Commit f251410

Browse files
committed
Fix GateCollector (+5.4 syntax)
Fixes barryvdh#439
1 parent 677ac78 commit f251410

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
@@ -365,7 +365,7 @@ function ($query, $bindings = null, $time = null, $connectionName = null) use ($
365365

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

0 commit comments

Comments
 (0)