X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FCategory.php;h=126b8fee405f3370191b271e62a488301939fc25;hb=1afc53f3782882faa79fd2b819bc4002a950b1df;hp=53e44d710c931271b6953e99439b5ddf0194c098;hpb=f8daed077a379161ac5d32c9c503f57028b4ccc7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Category.php b/includes/Category.php index 53e44d710c..126b8fee40 100644 --- a/includes/Category.php +++ b/includes/Category.php @@ -40,7 +40,8 @@ class Category { /** Counts of membership (cat_pages, cat_subcats, cat_files) */ private $mPages = null, $mSubcats = null, $mFiles = null; - private function __construct() { } + private function __construct() { + } /** * Set up all member variables using a database query. @@ -106,7 +107,7 @@ class Category { /** * Factory function. * - * @param $name Array: A category name (no "Category:" prefix). It need + * @param array $name A category name (no "Category:" prefix). It need * not be normalized, with spaces replaced by underscores. * @return mixed Category, or false on a totally invalid name */ @@ -167,7 +168,7 @@ class Category { # NOTE: the row often results from a LEFT JOIN on categorylinks. This may result in # all the cat_xxx fields being null, if the category page exists, but nothing - # was ever added to the category. This case should be treated linke an empty + # was ever added to the category. This case should be treated link an empty # category, if possible. if ( $row->cat_title === null ) {