From: Matěj Suchánek Date: Wed, 22 May 2019 19:50:52 +0000 (+0200) Subject: Fix some docs X-Git-Tag: 1.34.0-rc.0~1622^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=68e8323160b11647b553b9dcac085880d27df64c;p=lhc%2Fweb%2Fwiklou.git Fix some docs Discovered by phan. Change-Id: Iadc2b151db6922f3159f061f10408d45636967c5 --- diff --git a/includes/Block.php b/includes/Block.php index 5b0d25611e..9f7f77d439 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -972,7 +972,7 @@ class Block extends AbstractBlock { * Set the block ID * * @param int $blockId - * @return int + * @return self */ private function setId( $blockId ) { $this->mId = (int)$blockId; diff --git a/includes/LinkFilter.php b/includes/LinkFilter.php index a4e94da7cf..6ad9b31ab9 100644 --- a/includes/LinkFilter.php +++ b/includes/LinkFilter.php @@ -91,7 +91,7 @@ class LinkFilter { /** * Canonicalize a hostname for el_index - * @param string $hose + * @param string $host * @return string */ private static function indexifyHost( $host ) { diff --git a/includes/db/MWLBFactory.php b/includes/db/MWLBFactory.php index be4f6ba57c..4589128dec 100644 --- a/includes/db/MWLBFactory.php +++ b/includes/db/MWLBFactory.php @@ -245,8 +245,8 @@ abstract class MWLBFactory { /** * @param array $servers - * @param string $lbDB Local domain database name - * @param string $lbTP Local domain prefix + * @param string $ldDB Local domain database name + * @param string $ldTP Local domain prefix */ private static function assertValidServerConfigs( array $servers, $ldDB, $ldTP ) { foreach ( $servers as $server ) {