Skip to content

Commit

Permalink
Fix GateCollector (+5.4 syntax)
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Dec 30, 2015
1 parent 974fd16 commit 3bf871f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaravelDebugbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ function ($query, $bindings = null, $time = null, $connectionName = null) use ($

if ($this->shouldCollect('gate', false)) {
try {
$gateCollector = $this->app->make(GateCollector::class);
$gateCollector = $this->app->make('Barryvdh\Debugbar\DataCollector\GateCollector');
$this->addCollector($gateCollector);
} catch (\Exception $e){
// No Gate collector
Expand Down

0 comments on commit 3bf871f

Please sign in to comment.