Merge "Avoid uses of wfWikiId() in maintenance/"
[lhc/web/wiklou.git] / includes / installer / WebInstallerPage.php
index 7a41ceb..1c5fa0e 100644 (file)
@@ -133,7 +133,7 @@ abstract class WebInstallerPage {
         * @return string
         */
        public function getName() {
-               return str_replace( 'WebInstaller', '', get_class( $this ) );
+               return str_replace( 'WebInstaller', '', static::class );
        }
 
        /**
@@ -145,7 +145,7 @@ abstract class WebInstallerPage {
 
        /**
         * @param string $var
-        * @param mixed $default
+        * @param mixed|null $default
         *
         * @return mixed
         */