[NFC] Update Upgrade Template to use short array syntax
authorSeamus Lee <seamuslee001@gmail.com>
Sat, 17 Aug 2019 03:53:58 +0000 (13:53 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Sat, 17 Aug 2019 03:53:58 +0000 (13:53 +1000)
CRM/Upgrade/Incremental/php/Template.php

index d9fbf67e0fb4bcbd7fe6cfd1e754d80c51acadc3..bce4716c11a26aca5df61a49411414deeb1d9dda 100644 (file)
@@ -79,7 +79,7 @@ class CRM_Upgrade_Incremental_php_<?php echo $camelNumber; ?> extends CRM_Upgrad
   //   * @param string $rev
   //   */
   //  public function upgrade_5_0_x($rev) {
-  //    $this->addTask(ts('Upgrade DB to %1: SQL', array(1 => $rev)), 'runSql', $rev);
+  //    $this->addTask(ts('Upgrade DB to %1: SQL', [1 => $rev]), 'runSql', $rev);
   //    $this->addTask('Do the foo change', 'taskFoo', ...);
   //    // Additional tasks here...
   //    // Note: do not use ts() in the addTask description because it adds unnecessary strings to transifex.