X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FWebInstallerPage.php;h=1c5fa0e91df4dfd37128b9b035242efd762312e4;hb=6ceb894b88fac3472d1fda8afaa187745c175ec1;hp=7a41cebe65f7e552e76b39b9853478a20b48c288;hpb=17eda64357834fa847126d8d7f49f6f5b42c4d89;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/WebInstallerPage.php b/includes/installer/WebInstallerPage.php index 7a41cebe65..1c5fa0e91d 100644 --- a/includes/installer/WebInstallerPage.php +++ b/includes/installer/WebInstallerPage.php @@ -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 */