X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fdeferred%2FDataUpdate.php;h=2865461e5e6768bd32a487938266440e88b37660;hb=34038266ee8f3b88ebd50bebd87b2f85c0c9b60e;hp=4a61b2aff373350194dea19888d4482cd732c0ae;hpb=936fc308365f762b785a92e8f558a8b5978751d5;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/deferred/DataUpdate.php b/includes/deferred/DataUpdate.php index 4a61b2aff3..2865461e5e 100644 --- a/includes/deferred/DataUpdate.php +++ b/includes/deferred/DataUpdate.php @@ -84,7 +84,7 @@ abstract class DataUpdate implements DeferrableUpdate { return; // nothing to do } - $open_transactions = array(); + $open_transactions = []; $exception = null; try { @@ -127,10 +127,10 @@ abstract class DataUpdate implements DeferrableUpdate { * * @param DataUpdate[] $updates A list of DataUpdate instances * @return DataUpdate[] - * @since 1.26 + * @since 1.27 */ protected static function enqueueUpdates( array $updates ) { - $remaining = array(); + $remaining = []; foreach ( $updates as $update ) { if ( $update instanceof EnqueueableDataUpdate ) { @@ -151,7 +151,7 @@ abstract class DataUpdate implements DeferrableUpdate { * Such updates must be representable using IJobSpecification, so that * they can be serialized into jobs and enqueued for later execution * - * @since 1.26 + * @since 1.27 */ interface EnqueueableDataUpdate { /**