From cbdc89ddeee1db2b01a357662cdaf3367642655a Mon Sep 17 00:00:00 2001 From: Kim Biesbjerg Date: Thu, 14 Jul 2016 05:50:37 +0200 Subject: [PATCH] Fix CS error --- lib/Cake/Error/ExceptionRenderer.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/Cake/Error/ExceptionRenderer.php b/lib/Cake/Error/ExceptionRenderer.php index 4da938167d8..d5d32ff9583 100644 --- a/lib/Cake/Error/ExceptionRenderer.php +++ b/lib/Cake/Error/ExceptionRenderer.php @@ -330,6 +330,13 @@ protected function _outputMessageSafe($template) { $this->controller->response->send(); } +/** + * Run the shutdown events. + * + * Triggers the afterFilter and afterDispatch events. + * + * @return void + */ protected function _shutdown() { $afterFilterEvent = new CakeEvent('Controller.shutdown', $this->controller); $this->controller->getEventManager()->dispatch($afterFilterEvent);