Drop XCache support
[lhc/web/wiklou.git] / includes / libs / filebackend / FileBackend.php
index 6f51081..08f960a 100644 (file)
@@ -175,7 +175,7 @@ abstract class FileBackend implements LoggerAwareInterface {
                        : new NullLockManager( [] );
                $this->fileJournal = isset( $config['fileJournal'] )
                        ? $config['fileJournal']
-                       : FileJournal::factory( [ 'class' => 'NullFileJournal' ], $this->name );
+                       : FileJournal::factory( [ 'class' => NullFileJournal::class ], $this->name );
                $this->readOnly = isset( $config['readOnly'] )
                        ? (string)$config['readOnly']
                        : '';
@@ -1591,13 +1591,13 @@ abstract class FileBackend implements LoggerAwareInterface {
         *   - StatusValue::newGood() if this method is called without parameters
         *   - StatusValue::newFatal() with all parameters to this method if passed in
         *
-        * @param ... string
+        * @param string $args,...
         * @return StatusValue
         */
        final protected function newStatus() {
                $args = func_get_args();
                if ( count( $args ) ) {
-                       $sv = call_user_func_array( [ 'StatusValue', 'newFatal' ], $args );
+                       $sv = call_user_func_array( [ StatusValue::class, 'newFatal' ], $args );
                } else {
                        $sv = StatusValue::newGood();
                }