X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FWikiMap.php;h=9dc3bfeedf998b9d129dc5ea2a2bcc383b4b087c;hb=9801a1245c25b67f2c6c46eefde538bfbec3d5a5;hp=90ebc4bc412b9f8c14b7bd4aa0725e19d8fc1ba3;hpb=e602b197ab5ea867799b8e790a9f7b9f877da952;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WikiMap.php b/includes/WikiMap.php index 90ebc4bc41..9dc3bfeedf 100644 --- a/includes/WikiMap.php +++ b/includes/WikiMap.php @@ -131,7 +131,7 @@ class WikiMap { * * @param string $wikiID Wiki'd id (generally database name) * @param string $user User name (must be normalised before calling this function!) - * @param string $text Link's text; optional, default to "User:$user" + * @param string|null $text Link's text; optional, default to "User:$user" * @return string HTML link or false if the wiki was not found */ public static function foreignUserLink( $wikiID, $user, $text = null ) { @@ -143,7 +143,7 @@ class WikiMap { * * @param string $wikiID Wiki'd id (generally database name) * @param string $page Page name (must be normalised before calling this function!) - * @param string $text Link's text; optional, default to $page + * @param string|null $text Link's text; optional, default to $page * @return string|false HTML link or false if the wiki was not found */ public static function makeForeignLink( $wikiID, $page, $text = null ) {