From 63fb199b9a68123a1bd08e28dd724ed055a031f2 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sat, 17 Aug 2019 13:53:58 +1000 Subject: [PATCH] [NFC] Update Upgrade Template to use short array syntax --- CRM/Upgrade/Incremental/php/Template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Upgrade/Incremental/php/Template.php b/CRM/Upgrade/Incremental/php/Template.php index d9fbf67e0fb4..bce4716c11a2 100644 --- a/CRM/Upgrade/Incremental/php/Template.php +++ b/CRM/Upgrade/Incremental/php/Template.php @@ -79,7 +79,7 @@ public function setPostUpgradeMessage(&$postUpgradeMessage, $rev) { // * @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.