From bececc421df18000663dea0bc9c5ce4d8d68abcb Mon Sep 17 00:00:00 2001 From: LustyRain Date: Mon, 2 Oct 2017 15:40:48 +0900 Subject: [PATCH] Fix: void unreturn --- lib/Cake/Controller/Component/SessionComponent.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Controller/Component/SessionComponent.php b/lib/Cake/Controller/Component/SessionComponent.php index 4057885ca..b298e420d 100644 --- a/lib/Cake/Controller/Component/SessionComponent.php +++ b/lib/Cake/Controller/Component/SessionComponent.php @@ -153,7 +153,7 @@ class SessionComponent extends Component { * @return void */ public function renew() { - return CakeSession::renew(); + CakeSession::renew(); } /** @@ -176,7 +176,7 @@ class SessionComponent extends Component { * @link https://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#SessionComponent::destroy */ public function destroy() { - return CakeSession::destroy(); + CakeSession::destroy(); } /**