From 2a95c20da4c6965114e5773f3aaf974e12f9c92b Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Thu, 5 Sep 2019 15:46:04 +0200 Subject: [PATCH] docs: addException => addThrowable (#419) ExceptionsCollector->addException() is deprecated since #281. --- 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 cf096f5..fa5a23b 100644 --- a/docs/base_collectors.md +++ b/docs/base_collectors.md @@ -59,7 +59,7 @@ Display exceptions try { throw new Exception('foobar'); } catch (Exception $e) { - $debugbar['exceptions']->addException($e); + $debugbar['exceptions']->addThrowable($e); } ## PDO