filebackend: use self:: instead of FileBackend:: for some constant uses
[lhc/web/wiklou.git] / includes / session / Token.php
index 14d239d..782ac16 100644 (file)
@@ -31,11 +31,17 @@ namespace MediaWiki\Session;
  */
 class Token {
        /** CSRF token suffix. Plus and terminal backslash are included to stop
-        * editing from certain broken proxies. */
+        * editing from certain broken proxies.
+        */
        const SUFFIX = '+\\';
 
+       /** @var string */
        private $secret = '';
+
+       /** @var string */
        private $salt = '';
+
+       /** @var bool */
        private $new = false;
 
        /**