We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 244ea7f commit 4d8a42fCopy full SHA for 4d8a42f
src/ServiceProvider.php
@@ -20,7 +20,7 @@ public function boot()
20
$app['config']->package('barryvdh/laravel-debugbar', __DIR__ . '/config');
21
22
if ($app->runningInConsole()) {
23
- if ($this->app['config']->get('laravel-debugbar::config.capture_console')) {
+ if ($this->app['config']->get('laravel-debugbar::config.capture_console') && method_exists($app, 'shutdown')) {
24
$app->shutdown(
25
function ($app) {
26
/** @var LaravelDebugbar $debugbar */
0 commit comments