From 0d625072c9b71f434f51a799c6ffa8cca652e7bd Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Wed, 17 Feb 2016 09:27:01 +0100 Subject: [PATCH] Boot before clearing storage, fixes #247 --- src/Console/ClearCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Console/ClearCommand.php b/src/Console/ClearCommand.php index 3fd7d1a6..2ceaf721 100644 --- a/src/Console/ClearCommand.php +++ b/src/Console/ClearCommand.php @@ -18,6 +18,8 @@ public function __construct(DebugBar $debugbar) public function fire() { + $this->debugbar->boot(); + if ($storage = $this->debugbar->getStorage()) { $storage->clear(); $this->info('Debugbar Storage cleared!');