From: Matthias Schmidt Date: Sun, 17 Jul 2016 08:42:04 +0000 (+0200) Subject: Add missing method documentation X-Git-Tag: 3.0.0_Beta_1~1084 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b7d39e743c42b346bc59774f1800869a0b2b7e20;p=GitHub%2FWoltLab%2FWCF.git Add missing method documentation --- diff --git a/wcfsetup/install/files/lib/system/html/metacode/converter/TableMetacodeConverter.class.php b/wcfsetup/install/files/lib/system/html/metacode/converter/TableMetacodeConverter.class.php index 05b8cf84b3..faceffd8af 100644 --- a/wcfsetup/install/files/lib/system/html/metacode/converter/TableMetacodeConverter.class.php +++ b/wcfsetup/install/files/lib/system/html/metacode/converter/TableMetacodeConverter.class.php @@ -62,6 +62,11 @@ class TableMetacodeConverter extends AbstractMetacodeConverter { return $element; } + /** + * Processes the rows of the table. + * + * @param \DOMElement $row + */ protected function handleRow(\DOMElement $row) { // get all table columns $cols = []; diff --git a/wcfsetup/install/files/lib/system/tagging/TagCloud.class.php b/wcfsetup/install/files/lib/system/tagging/TagCloud.class.php index d93082d089..807256017d 100644 --- a/wcfsetup/install/files/lib/system/tagging/TagCloud.class.php +++ b/wcfsetup/install/files/lib/system/tagging/TagCloud.class.php @@ -102,6 +102,12 @@ class TagCloud { return $tags; } + /** + * Calculates the weight of the tag based on the given tag count. + * + * @param integer $counter + * @return float|int + */ private function calculateWeight($counter) { if ($this->maxCounter == $this->minCounter) { return 2;