We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2b18c9 commit 38ff351Copy full SHA for 38ff351
1 file changed
src/Plugin.php
@@ -42,12 +42,13 @@ class Plugin extends BasePlugin
42
public function bootstrap(PluginApplicationInterface $app): void
43
{
44
$service = new ToolbarService(EventManager::instance(), (array)Configure::read('DebugKit'));
45
- $this->service = $service;
46
47
if (!$service->isEnabled() || php_sapi_name() === 'cli' || php_sapi_name() === 'phpdbg') {
48
return;
49
}
50
+ $this->service = $service;
51
+
52
$this->setDeprecationHandler($service);
53
54
// will load `config/bootstrap.php`.
0 commit comments