X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=blobdiff_plain;f=includes%2Fsession%2FSessionInfo.php;h=a7bbcce2e2fd5c390a88c74ef50e9e1932f9954f;hb=b04bef1d0488bc122bcc412a185b5d5c8101460a;hp=287da9dde36eef54b89b93679d9f3ee748096ffe;hpb=7874fc4bec845ad92960b07e969c65f3c3fe74f2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/session/SessionInfo.php b/includes/session/SessionInfo.php index 287da9dde3..a7bbcce2e2 100644 --- a/includes/session/SessionInfo.php +++ b/includes/session/SessionInfo.php @@ -50,10 +50,19 @@ class SessionInfo { /** @var UserInfo|null */ private $userInfo = null; + /** @var bool */ private $persisted = false; + + /** @var bool */ private $remembered = false; + + /** @var bool */ private $forceHTTPS = false; + + /** @var bool */ private $idIsSafe = false; + + /** @var bool */ private $forceUse = false; /** @var array|null */ @@ -282,7 +291,7 @@ class SessionInfo { * @return int Negative if $a < $b, positive if $a > $b, zero if equal */ public static function compare( $a, $b ) { - return $a->getPriority() - $b->getPriority(); + return $a->getPriority() <=> $b->getPriority(); } }