@@ -1356,7 +1356,7 @@ |
||
1356 | 1356 | * @since 1.18 |
1357 | 1357 | * |
1358 | 1358 | * @param string $key |
1359 | - * @param mixed $value |
|
1359 | + * @param string $value |
|
1360 | 1360 | */ |
1361 | 1361 | public function setExtraParam( $key, $value ) { |
1362 | 1362 | $this->extraParams[$key] = $value; |
@@ -1275,7 +1275,7 @@ discard block |
||
1275 | 1275 | * @param string|null $wikiId Id (as used by WikiMap) of the wiki to generate links to. |
1276 | 1276 | * For use with external changes. |
1277 | 1277 | * |
1278 | - * @return mixed|string |
|
1278 | + * @return string |
|
1279 | 1279 | */ |
1280 | 1280 | public static function formatComment( |
1281 | 1281 | $comment, $title = null, $local = false, $wikiId = null |
@@ -1803,7 +1803,7 @@ discard block |
||
1803 | 1803 | * Split a link trail, return the "inside" portion and the remainder of the trail |
1804 | 1804 | * as a two-element array |
1805 | 1805 | * @param string $trail |
1806 | - * @return array |
|
1806 | + * @return string[] |
|
1807 | 1807 | */ |
1808 | 1808 | static function splitTrail( $trail ) { |
1809 | 1809 | global $wgContLang; |
@@ -25,7 +25,6 @@ |
||
25 | 25 | /** |
26 | 26 | * Create Kafka producer. |
27 | 27 | * |
28 | - * @param Config $config |
|
29 | 28 | */ |
30 | 29 | public function __construct( array $params ) { |
31 | 30 | $this->config = new HashConfig( $params ); |