Merge "Make "/*@noflip*/ /*@embed*/" annotation work"
[lhc/web/wiklou.git] / includes / deferred / SqlDataUpdate.php
index 09d18c4..9c58503 100644 (file)
  * Abstract base class for update jobs that put some secondary data extracted
  * from article content into the database.
  *
- * @note: subclasses should NOT start or commit transactions in their doUpdate() method,
- *        a transaction will automatically be wrapped around the update. Starting another
- *        one would break the outer transaction bracket. If need be, subclasses can override
- *        the beginTransaction() and commitTransaction() methods.
+ * @note subclasses should NOT start or commit transactions in their doUpdate() method,
+ *       a transaction will automatically be wrapped around the update. Starting another
+ *       one would break the outer transaction bracket. If need be, subclasses can override
+ *       the beginTransaction() and commitTransaction() methods.
  */
 abstract class SqlDataUpdate extends DataUpdate {
        /** @var DatabaseBase Database connection reference */
@@ -40,13 +40,13 @@ abstract class SqlDataUpdate extends DataUpdate {
        /** @var bool Whether a transaction is open on this object (internal use only!) */
        private $mHasTransaction;
 
-       /** @var  bool Whether this update should be wrapped in a transaction */
+       /** @var bool Whether this update should be wrapped in a transaction */
        protected $mUseTransaction;
 
        /**
         * Constructor
         *
-        * @param bool $withTransaction whether this update should be wrapped in a
+        * @param bool $withTransaction Whether this update should be wrapped in a
         *   transaction (default: true). A transaction is only started if no
         *   transaction is already in progress, see beginTransaction() for details.
         */