Remove i18n parameters
[lhc/web/wiklou.git] / includes / session / SessionBackend.php
index 44806ed..7956e9f 100644 (file)
@@ -50,15 +50,25 @@ final class SessionBackend {
        /** @var SessionId */
        private $id;
 
+       /** @var bool */
        private $persist = false;
+
+       /** @var bool */
        private $remember = false;
+
+       /** @var bool */
        private $forceHTTPS = false;
 
        /** @var array|null */
        private $data = null;
 
+       /** @var bool */
        private $forcePersist = false;
+
+       /** @var bool */
        private $metaDirty = false;
+
+       /** @var bool */
        private $dataDirty = false;
 
        /** @var string Used to detect subarray modifications */
@@ -76,6 +86,7 @@ final class SessionBackend {
        /** @var User */
        private $user;
 
+       /** @var int */
        private $curIndex = 0;
 
        /** @var WebRequest[] Session requests */
@@ -87,13 +98,21 @@ final class SessionBackend {
        /** @var array|null provider-specified metadata */
        private $providerMetadata = null;
 
+       /** @var int */
        private $expires = 0;
+
+       /** @var int */
        private $loggedOut = 0;
+
+       /** @var int */
        private $delaySave = 0;
 
+       /** @var bool */
        private $usePhpSessionHandling = true;
+       /** @var bool */
        private $checkPHPSessionRecursionGuard = false;
 
+       /** @var bool */
        private $shutdown = false;
 
        /**
@@ -243,7 +262,7 @@ final class SessionBackend {
 
                        if ( $restart ) {
                                session_id( (string)$this->id );
-                               \MediaWiki\quietCall( 'session_start' );
+                               \Wikimedia\quietCall( 'session_start' );
                        }
 
                        $this->autosave();
@@ -457,7 +476,7 @@ final class SessionBackend {
 
        /**
         * Set the "logged out" timestamp
-        * @param int $ts
+        * @param int|null $ts
         */
        public function setLoggedOutTimestamp( $ts = null ) {
                $ts = (int)$ts;
@@ -612,7 +631,7 @@ final class SessionBackend {
         * Save the session
         *
         * Update both the backend data and the associated WebRequest(s) to
-        * reflect the state of the the SessionBackend. This might include
+        * reflect the state of the SessionBackend. This might include
         * persisting or unpersisting the session.
         *
         * @param bool $closing Whether the session is being closed
@@ -764,7 +783,7 @@ final class SessionBackend {
                                                'session' => $this->id,
                                ] );
                                session_id( (string)$this->id );
-                               \MediaWiki\quietCall( 'session_start' );
+                               \Wikimedia\quietCall( 'session_start' );
                        }
                }
        }