From: umherirrender Date: Fri, 4 Jul 2014 20:41:05 +0000 (+0200) Subject: Remove @private/@public/@void where visibility already set X-Git-Tag: 1.31.0-rc.0~15087 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=0c1b1f8cfb8a5161b1eeb11c8cced5c9140867eb;p=lhc%2Fweb%2Fwiklou.git Remove @private/@public/@void where visibility already set When private is set php side on the function, no need to have it in the param docs. Change-Id: Ieaeac99c131b7360b1f324244d8be6f9ff854dd2 --- diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index f9799a5b5d..5f827e8932 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -112,7 +112,6 @@ class SkinTemplate extends Skin { * Generates array of language links for the current page * * @return array - * @public */ public function getLanguages() { global $wgHideInterlanguageLinks; diff --git a/includes/Title.php b/includes/Title.php index 22511b0cab..b8b0e30654 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1371,7 +1371,6 @@ class Title { * * @param string $name The text * @return string The prefixed text - * @private */ private function prefix( $name ) { $p = ''; diff --git a/includes/db/DatabaseMssql.php b/includes/db/DatabaseMssql.php index 1d05bf6b99..a03dd75a9b 100644 --- a/includes/db/DatabaseMssql.php +++ b/includes/db/DatabaseMssql.php @@ -1295,9 +1295,6 @@ class DatabaseMssql extends DatabaseBase { : array(); } - /** - * @void - */ private function populateColumnCaches() { $res = $this->select( 'INFORMATION_SCHEMA.COLUMNS', '*', array( diff --git a/includes/media/FormatMetadata.php b/includes/media/FormatMetadata.php index f7aa56710b..4200541c6f 100644 --- a/includes/media/FormatMetadata.php +++ b/includes/media/FormatMetadata.php @@ -1302,7 +1302,6 @@ class FormatMetadata extends ContextSource { * @param int $a Numerator * @param int $b Denominator * @return int - * @private */ private function gcd( $a, $b ) { /*