1
0
Fork 0

Add phpdoc

This commit is contained in:
Philipp Holzer 2019-12-10 00:50:05 +01:00
commit cad7e534a4
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
4 changed files with 9 additions and 6 deletions

View file

@ -6,6 +6,9 @@ use Friendica\Core\Config\Configuration;
use Friendica\App;
use Friendica\Model\User\Cookie;
/**
* The native Session class which uses the PHP internal Session function
*/
class NativeSession implements ISession
{
/** @var Cookie */
@ -88,7 +91,5 @@ class NativeSession implements ISession
{
$this->cookie->clear();
$_SESSION = [];
session_unset();
session_destroy();
}
}