Merge pull request #14894 from eileenmcnaughton/date_fisc
[civicrm-core.git] / CRM / ACL / BAO / EntityRole.php
index eb12167be4291a2c9c989c449058fefc19535f1d..8ed2b2e0b816c004710112c3dccd0ba971bb3901 100644 (file)
@@ -35,7 +35,7 @@
  *  Access Control EntityRole.
  */
 class CRM_ACL_BAO_EntityRole extends CRM_ACL_DAO_EntityRole {
-  static $_entityTable = NULL;
+  public static $_entityTable = NULL;
 
   /**
    * Get entity table.
@@ -44,10 +44,10 @@ class CRM_ACL_BAO_EntityRole extends CRM_ACL_DAO_EntityRole {
    */
   public static function entityTable() {
     if (!self::$_entityTable) {
-      self::$_entityTable = array(
+      self::$_entityTable = [
         'civicrm_contact' => ts('Contact'),
         'civicrm_group' => ts('Group'),
-      );
+      ];
     }
     return self::$_entityTable;
   }