X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDataUpdate.php;h=c1076b238d4cb6ac9d2d503207c7b1a565863a68;hb=f4604544cdd0b9bd4a5b2920034181fa6adf7958;hp=088bb7e7742ed98c22524397364e4b2916904b2d;hpb=7d4c391e2574ed3f64fd13d304aa6c38214551ed;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DataUpdate.php b/includes/DataUpdate.php index 088bb7e774..c1076b238d 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,14 @@ 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 ) {