From 58d23cac5e2107a56e9509b5aa53cd9e5b441179 Mon Sep 17 00:00:00 2001 From: David Yell Date: Thu, 9 Feb 2017 12:41:11 +0000 Subject: [PATCH] Change method output In the `BaseErrorHandler` these methods are doc block'd with `@return void`, so they should not be returning anything. --- en/development/errors.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/development/errors.rst b/en/development/errors.rst index cf6d82f375..ed6adb244c 100644 --- a/en/development/errors.rst +++ b/en/development/errors.rst @@ -75,11 +75,11 @@ An example would be:: { public function _displayError($error, $debug) { - return 'There has been an error!'; + echo 'There has been an error!'; } public function _displayException($exception) { - return 'There has been an exception!'; + echo 'There has been an exception!'; } }