Merge pull request #17470 from colemanw/array
[civicrm-core.git] / tests / phpunit / E2E / Extern / RestTest.php
index d616c0512cae493c210504dd308e111ca26c3623..22fbaedd3f450cdf0f141e3b0a6dc191faba2815 100644 (file)
@@ -43,7 +43,7 @@ class E2E_Extern_RestTest extends CiviEndToEndTestCase {
       $this->markTestSkipped('Missing siteKey');
     }
 
-    $this->old_api_keys = array();
+    $this->old_api_keys = [];
   }
 
   protected function getRestUrl() {
@@ -78,7 +78,7 @@ class E2E_Extern_RestTest extends CiviEndToEndTestCase {
    * @return array; each item is a list of parameters for testAPICalls
    */
   public function apiTestCases() {
-    $cases = array();
+    $cases = [];
 
     // entity,action: omit apiKey, valid entity+action
     $cases[] = array(