Skip to content

Commit d5c46b6

Browse files
authored
Make sure guards is array
1 parent 9ea44af commit d5c46b6

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

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

444444
$authCollector->setShowName(

0 commit comments

Comments
 (0)