diff options
Diffstat (limited to 'includes/DataUpdate.php')
-rw-r--r-- | includes/DataUpdate.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/DataUpdate.php b/includes/DataUpdate.php index 377b64c0..c1076b23 100644 --- a/includes/DataUpdate.php +++ b/includes/DataUpdate.php @@ -34,7 +34,7 @@ abstract class DataUpdate implements DeferrableUpdate { /** * Constructor */ - public function __construct( ) { + public function __construct() { # noop } @@ -67,15 +67,15 @@ abstract class DataUpdate implements DeferrableUpdate { * * This methods supports transactions logic by first calling beginTransaction() * on all updates in the array, then calling doUpdate() on each, and, if all goes well, - * then calling commitTransaction() on each update. If an error occurrs, - * rollbackTransaction() will be called on any update object that had beginTranscation() + * then calling commitTransaction() on each update. If an error occurs, + * rollbackTransaction() will be called on any update object that had beginTransaction() * called but not yet commitTransaction(). * * This allows for limited transactional logic across multiple backends for storing * secondary data. * - * @static - * @param $updates array a list of DataUpdate instances + * @param array $updates a list of DataUpdate instances + * @throws Exception|null */ public static function runUpdates( $updates ) { if ( empty( $updates ) ) return; # nothing to do |