From d5c46b6a51b2773c6c8fbd149517a7719f4ff1f7 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Sun, 24 Dec 2017 14:25:43 +0100 Subject: [PATCH] Make sure guards is array --- src/LaravelDebugbar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LaravelDebugbar.php b/src/LaravelDebugbar.php index 0b99dcda..b88c174d 100644 --- a/src/LaravelDebugbar.php +++ b/src/LaravelDebugbar.php @@ -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(