return; // nothing to do
}
- $open_transactions = array();
+ $open_transactions = [];
$exception = null;
try {
*
* @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 ) {
* 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 {
/**