Merge pull request #11259 from lustyrain/2.x

Fix: void unreturn
This commit is contained in:
Mark Story 2017-10-02 18:56:23 -04:00 committed by GitHub
commit 1b364176ff

View file

@ -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();
}
/**