Skip to content

Commit

Permalink
Make sure guards is array
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh authored Dec 24, 2017
1 parent 9ea44af commit d5c46b6
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 @@ -438,7 +438,7 @@ function ($query, $bindings = null, $time = null, $connectionName = null) use ($

if ($this->shouldCollect('auth', false)) {
try {
$guards = array_keys($this->app['config']->get('auth.guards'));
$guards = array_keys($this->app['config']->get('auth.guards', []));
$authCollector = new MultiAuthCollector($app['auth'], $guards);

$authCollector->setShowName(
Expand Down

0 comments on commit d5c46b6

Please sign in to comment.