From 30f65f18f7ac086255a77a079f8e0dcdd35e828e Mon Sep 17 00:00:00 2001 From: William Desportes Date: Tue, 19 Sep 2023 21:53:10 +0200 Subject: [PATCH] Fix class name missing full import (#540) --- docs/base_collectors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/base_collectors.md b/docs/base_collectors.md index 11407a3..75f1fff 100644 --- a/docs/base_collectors.md +++ b/docs/base_collectors.md @@ -115,7 +115,7 @@ Aggregates multiple collectors. Do not provide any widgets, you have to add your $debugbar->addCollector(new DebugBar\DataCollector\AggregatedCollector('all_messages', 'messages', 'time')); $debugbar['all_messages']->addCollector($debugbar['messages']); - $debugbar['all_messages']->addCollector(new MessagesCollector('mails')); + $debugbar['all_messages']->addCollector(new DebugBar\DataCollector\MessagesCollector('mails')); $debugbar['all_messages']['mails']->addMessage('sending mail'); $renderer = $debugbar->getJavascriptRenderer();