Skip to content

Commit

Permalink
Fix: void unreturn
Browse files Browse the repository at this point in the history
  • Loading branch information
lustyrain committed Oct 2, 2017
1 parent 8d0590c commit bececc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Controller/Component/SessionComponent.php
Expand Up @@ -153,7 +153,7 @@ public function setFlash($message, $element = 'default', $params = array(), $key
* @return void
*/
public function renew() {
return CakeSession::renew();
CakeSession::renew();
}

/**
Expand All @@ -176,7 +176,7 @@ public function valid() {
* @link https://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#SessionComponent::destroy
*/
public function destroy() {
return CakeSession::destroy();
CakeSession::destroy();
}

/**
Expand Down

0 comments on commit bececc4

Please sign in to comment.