dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Warn if stateful ParserOutput transforms are used"
[lhc/web/wiklou.git]
/
includes
/
Category.php
diff --git
a/includes/Category.php
b/includes/Category.php
index
c22ea64
..
9241730
100644
(file)
--- a/
includes/Category.php
+++ b/
includes/Category.php
@@
-48,7
+48,7
@@
class Category {
/**
* Set up all member variables using a database query.
/**
* Set up all member variables using a database query.
- * @param int
eger
$mode
+ * @param int $mode
* @throws MWException
* @return bool True on success, false on failure.
*/
* @throws MWException
* @return bool True on success, false on failure.
*/
@@
-119,9
+119,9
@@
class Category {
/**
* Factory function.
*
/**
* Factory function.
*
- * @param
array
$name A category name (no "Category:" prefix). It need
+ * @param
string
$name A category name (no "Category:" prefix). It need
* not be normalized, with spaces replaced by underscores.
* not be normalized, with spaces replaced by underscores.
- * @return
mixed
Category, or false on a totally invalid name
+ * @return
Category|bool
Category, or false on a totally invalid name
*/
public static function newFromName( $name ) {
$cat = new self();
*/
public static function newFromName( $name ) {
$cat = new self();