X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FCategoryfinder.php;h=6ef224b607d87058c3d9e73429dbe7b27783cd2e;hb=c2665e4b6e615c80e4126f1ff343e7f9f3018dcc;hp=cb67aa82b7f94a4086497e7e58d509d4aaf75232;hpb=3fca4cbe5d17cfac27ce294ab73a0d2593b67a34;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Categoryfinder.php b/includes/Categoryfinder.php index cb67aa82b7..6ef224b607 100644 --- a/includes/Categoryfinder.php +++ b/includes/Categoryfinder.php @@ -66,7 +66,7 @@ class Categoryfinder { * Initializes the instance. Do this prior to calling run(). * @param $article_ids Array of article IDs * @param $categories FIXME - * @param $mode String: FIXME, default 'AND'. + * @param string $mode FIXME, default 'AND'. * @todo FIXME: $categories/$mode */ function seed( $article_ids, $categories, $mode = 'AND' ) { @@ -111,9 +111,9 @@ class Categoryfinder { /** * This functions recurses through the parent representation, trying to match the conditions - * @param $id int The article/category to check - * @param $conds array The array of categories to match - * @param $path array used to check for recursion loops + * @param int $id The article/category to check + * @param array $conds The array of categories to match + * @param array $path used to check for recursion loops * @return bool Does this match the conditions? */ function check( $id, &$conds, $path = array() ) { @@ -124,7 +124,7 @@ class Categoryfinder { $path[] = $id; - # Shortcut (runtime paranoia): No contitions=all matched + # Shortcut (runtime paranoia): No conditions=all matched if ( count( $conds ) == 0 ) { return true; }