Fix some docs
authorMatěj Suchánek <matejsuchanek97@gmail.com>
Wed, 22 May 2019 19:50:52 +0000 (21:50 +0200)
committerMatěj Suchánek <matejsuchanek97@gmail.com>
Wed, 22 May 2019 19:50:52 +0000 (21:50 +0200)
Discovered by phan.

Change-Id: Iadc2b151db6922f3159f061f10408d45636967c5

includes/Block.php
includes/LinkFilter.php
includes/db/MWLBFactory.php

index 5b0d256..9f7f77d 100644 (file)
@@ -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;
index a4e94da..6ad9b31 100644 (file)
@@ -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 ) {
index be4f6ba..4589128 100644 (file)
@@ -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 ) {