X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2FcleanupUsersWithNoId.php;h=61d1e5d5abba3d029218cdf95ea65c1669affec0;hp=3763d3b1c191887ab211431086c240a1631aa8a2;hb=d46835ef4f877b03a9d48aa392dc23ae37042756;hpb=5c28dd51ebfe07232b9d082812b64445dcc5f207 diff --git a/maintenance/cleanupUsersWithNoId.php b/maintenance/cleanupUsersWithNoId.php index 3763d3b1c1..61d1e5d5ab 100644 --- a/maintenance/cleanupUsersWithNoId.php +++ b/maintenance/cleanupUsersWithNoId.php @@ -95,7 +95,7 @@ class CleanupUsersWithNoId extends LoggedUpdateMaintenance { * @param IDatabase $dbw * @param string[] $indexFields Fields in the index being ordered by * @param object $row Database row - * @return array [ string $next, string $display ] + * @return string[] [ string $next, string $display ] */ private function makeNextCond( $dbw, $indexFields, $row ) { $next = ''; @@ -110,7 +110,7 @@ class CleanupUsersWithNoId extends LoggedUpdateMaintenance { $next = "$field > $value OR $field = $value AND ($next)"; } } - $display = join( ' ', array_reverse( $display ) ); + $display = implode( ' ', array_reverse( $display ) ); return [ $next, $display ]; }