From 68e8323160b11647b553b9dcac085880d27df64c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C4=9Bj=20Such=C3=A1nek?= Date: Wed, 22 May 2019 21:50:52 +0200 Subject: [PATCH] Fix some docs Discovered by phan. Change-Id: Iadc2b151db6922f3159f061f10408d45636967c5 --- includes/Block.php | 2 +- includes/LinkFilter.php | 2 +- includes/db/MWLBFactory.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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 ) { -- 2.20.1