X-Git-Url: https://git.heureux-cyclage.org/w/index.php?a=blobdiff_plain;f=maintenance%2FgenerateSitemap.php;h=5a2c6c7bdf32e164eeba8ac6b09f12fdb54ff849;hb=e9553f6ce9db2eadc328b4ae2832d47192b2f4f8;hp=1be2a27908f9bd27ec8c18667e53782685506dac;hpb=63eebc01c48aee45f9c219cadf2e0e81f5a2043e;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/generateSitemap.php b/maintenance/generateSitemap.php index 1be2a27908..5a2c6c7bdf 100644 --- a/maintenance/generateSitemap.php +++ b/maintenance/generateSitemap.php @@ -440,8 +440,8 @@ class GenerateSitemap extends Maintenance { /** * Get a sitemap filename * - * @param int $namespace The namespace - * @param int $count The count + * @param int $namespace + * @param int $count * @return string */ function sitemapFilename( $namespace, $count ) { @@ -555,5 +555,5 @@ class GenerateSitemap extends Maintenance { } } -$maintClass = "GenerateSitemap"; +$maintClass = GenerateSitemap::class; require_once RUN_MAINTENANCE_IF_MAIN;