Merge "Enable $wgVectorUseIconWatch by default."
[lhc/web/wiklou.git] / includes / LinksUpdate.php
index 83883b5..f79b423 100644 (file)
@@ -265,8 +265,8 @@ class LinksUpdate extends SqlDataUpdate {
 
        /**
         * Update all the appropriate counts in the category table.
-        * @param $added array associative array of category name => sort key
-        * @param $deleted array associative array of category name => sort key
+        * @param array $added associative array of category name => sort key
+        * @param array $deleted associative array of category name => sort key
         */
        function updateCategoryCounts( $added, $deleted ) {
                $a = WikiPage::factory( $this->mTitle );
@@ -430,7 +430,7 @@ class LinksUpdate extends SqlDataUpdate {
        /**
         * Get an array of category insertions
         *
-        * @param $existing array mapping existing category names to sort keys. If both
+        * @param array $existing mapping existing category names to sort keys. If both
         * match a link in $this, the link will be omitted from the output
         *
         * @return array
@@ -474,7 +474,7 @@ class LinksUpdate extends SqlDataUpdate {
        /**
         * Get an array of interlanguage link insertions
         *
-        * @param $existing Array mapping existing language codes to titles
+        * @param array $existing mapping existing language codes to titles
         *
         * @return array
         */
@@ -847,7 +847,7 @@ class LinksDeletionUpdate extends SqlDataUpdate {
                $res = $this->mDb->select( 'categorylinks', 'cl_to', array( 'cl_from' => $id ), __METHOD__ );
 
                foreach ( $res as $row ) {
-                       $cats [] = $row->cl_to;
+                       $cats[] = $row->cl_to;
                }
 
                $this->mPage->updateCategoryCounts( array(), $cats );
@@ -884,8 +884,8 @@ class LinksDeletionUpdate extends SqlDataUpdate {
 
        /**
         * Update all the appropriate counts in the category table.
-        * @param $added array associative array of category name => sort key
-        * @param $deleted array associative array of category name => sort key
+        * @param array $added associative array of category name => sort key
+        * @param array $deleted associative array of category name => sort key
         */
        function updateCategoryCounts( $added, $deleted ) {
                $a = WikiPage::factory( $this->mTitle );