X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FLinker.php;h=f160fd67fa759f105ef374ff2272cf6e4341c45a;hb=7a206823e36c834b2dca44a7ea06b8a1451c26a6;hp=89a6a108ac44bc7d5a2d7f9929530d842de1c8ed;hpb=39ded1e13f8bd5c3ea055067320749be0d15ff6a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Linker.php b/includes/Linker.php index 89a6a108ac..f160fd67fa 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -904,7 +904,7 @@ class Linker { * red if the user has no edits? * @param int $flags Customisation flags (e.g. Linker::TOOL_LINKS_NOBLOCK * and Linker::TOOL_LINKS_EMAIL). - * @param int $edits User edit count (optional, for performance) + * @param int|null $edits User edit count (optional, for performance) * @return string HTML fragment */ public static function userToolLinks( @@ -966,7 +966,7 @@ class Linker { * @since 1.16.3 * @param int $userId User identifier * @param string $userText User name or IP address - * @param int $edits User edit count (optional, for performance) + * @param int|null $edits User edit count (optional, for performance) * @return string */ public static function userToolLinksRedContribs( $userId, $userText, $edits = null ) { @@ -1496,7 +1496,7 @@ class Linker { * @return string */ public static function tocIndent() { - return "\n