Skip to content

Commit

Permalink
Fix return type to be as expected and documented.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Dec 28, 2016
1 parent 5b8e22d commit 035c944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Auth/Storage/SessionStorage.php
Expand Up @@ -84,7 +84,7 @@ public function read()

$this->_user = $this->_session->read($this->_config['key']) ?: false;

return $this->_user;
return $this->_user ?: null;
}

/**
Expand Down

0 comments on commit 035c944

Please sign in to comment.