From: Sam Reed Date: Tue, 10 Jan 2012 18:42:59 +0000 (+0000) Subject: Fix whitespace X-Git-Tag: 1.31.0-rc.0~25366 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/?a=commitdiff_plain;h=3f704bbe0b7cab8ba330859807a79d5b9b2ad2af;p=lhc%2Fweb%2Fwiklou.git Fix whitespace Fix/improve documentation --- diff --git a/includes/SiteStats.php b/includes/SiteStats.php index e9137fe235..4dc62dac55 100644 --- a/includes/SiteStats.php +++ b/includes/SiteStats.php @@ -409,7 +409,7 @@ class SiteStatsInit { * Do all updates and commit them. More or less a replacement * for the original initStats, but without output. * - * @param $database Boolean or DatabaseBase: + * @param $database DatabaseBase|bool * - Boolean: whether to use the master DB * - DatabaseBase: database connection to use * @param $options Array of options, may contain the following values diff --git a/includes/parser/StripState.php b/includes/parser/StripState.php index 357dc2c8bf..aac2257a16 100644 --- a/includes/parser/StripState.php +++ b/includes/parser/StripState.php @@ -11,6 +11,9 @@ class StripState { protected $tempType, $tempMergePrefix; + /** + * @param $prefix string + */ function __construct( $prefix ) { $this->prefix = $prefix; $this->data = array( @@ -170,6 +173,10 @@ class StripState { return $texts; } + /** + * @param $m + * @return string + */ protected function mergeCallback( $m ) { $key = $m[1]; return "{$this->prefix}{$this->tempMergePrefix}-$key" . Parser::MARKER_SUFFIX; diff --git a/languages/classes/LanguageBs.php b/languages/classes/LanguageBs.php index c501b35a1c..7c13037e57 100644 --- a/languages/classes/LanguageBs.php +++ b/languages/classes/LanguageBs.php @@ -30,9 +30,10 @@ class LanguageBs extends Language { } } - # Convert from the nominative form of a noun to some other case - # Invoked with {{GRAMMAR:case|word}} /** + * Convert from the nominative form of a noun to some other case + * Invoked with {{GRAMMAR:case|word}} + * * Cases: genitiv, dativ, akuzativ, vokativ, instrumental, lokativ * * @param $word string