X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=maintenance%2FnamespaceDupes.php;h=3c83921697899e3d4380eb55ca4ffe0a9b76fb39;hb=689c847a32e7fe8a0b3a559a88a627a252c5018e;hp=4a2b49ae9387c2b30ed0f5315657ebb4a0a79fbe;hpb=36395150104588f2afea866c330b683e4329fa48;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/namespaceDupes.php b/maintenance/namespaceDupes.php index 4a2b49ae93..3c83921697 100644 --- a/maintenance/namespaceDupes.php +++ b/maintenance/namespaceDupes.php @@ -459,10 +459,10 @@ class NamespaceConflictChecker extends Maintenance { /** * Get the preferred destination title for a given target page. - * @param integer $ns The destination namespace ID + * @param int $ns The destination namespace ID * @param string $name The conflicting prefix - * @param integer $sourceNs The source namespace - * @param integer $sourceDbk The source DB key (i.e. page_title) + * @param int $sourceNs The source namespace + * @param int $sourceDbk The source DB key (i.e. page_title) * @param array $options Associative array of validated command-line options * @return Title|false */ @@ -616,5 +616,5 @@ class NamespaceConflictChecker extends Maintenance { } } -$maintClass = "NamespaceConflictChecker"; +$maintClass = NamespaceConflictChecker::class; require_once RUN_MAINTENANCE_IF_MAIN;