X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=blobdiff_plain;f=includes%2Finstaller%2FInstallerSessionProvider.php;h=568ef516ef093f9d22d2c48aba139545508947de;hb=668b9efb671b118efe0d26b3ab4e2962aae73d78;hp=bfb1a69f307be86c8a16b16adc4ba1342fd9cd89;hpb=3071f1fad720f1773864621158a0c59b73124896;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/InstallerSessionProvider.php b/includes/installer/InstallerSessionProvider.php index bfb1a69f30..568ef516ef 100644 --- a/includes/installer/InstallerSessionProvider.php +++ b/includes/installer/InstallerSessionProvider.php @@ -30,6 +30,8 @@ use MediaWiki\Session\SessionInfo; class InstallerSessionProvider extends SessionProvider { /** * Pretend there is a session, to avoid MWCryptRand overhead + * @param WebRequest $request + * @return SessionInfo */ public function provideSessionInfo( WebRequest $request ) { return new SessionInfo( 1, [ @@ -40,6 +42,7 @@ class InstallerSessionProvider extends SessionProvider { /** * Yes we will treat your data with great care! + * @return bool */ public function persistsSessionId() { return true; @@ -47,6 +50,7 @@ class InstallerSessionProvider extends SessionProvider { /** * Sure, you can be whoever you want, as long as you have ID 0 + * @return bool */ public function canChangeUser() { return true;