[REF] Replace the deprecated system_rebuild_module_data function with equivilant...
[civicrm-core.git] / Civi / Test / MailingTestTrait.php
index 6609750fbebcc369169164ce356dd91db03bd999..b6ee14d872f5c802eebd306a28a33ade4671c9d2 100644 (file)
@@ -18,7 +18,7 @@ trait MailingTestTrait {
    *
    * @return int
    */
-  public function createMailing($params = array()) {
+  public function createMailing($params = []) {
     $params = array_merge(array(
       'subject' => 'maild' . rand(),
       'body_text' => 'bdkfhdskfhduew{domain.address}{action.optOutUrl}',