X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FWebInstallerPage.php;h=1c5fa0e91df4dfd37128b9b035242efd762312e4;hb=c58f4f99856ebe4f8dd42c0d4c07bfdfa1ec74cd;hp=7a41cebe65f7e552e76b39b9853478a20b48c288;hpb=3287201b673c6e52c04e9f8771c0e71d1a617910;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 */