Merge pull request #14894 from eileenmcnaughton/date_fisc
[civicrm-core.git] / CRM / ACL / BAO / EntityRole.php
index 42dd9167bc995efd481cc4ad53051c7f00c45826..8ed2b2e0b816c004710112c3dccd0ba971bb3901 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018                                |
+ | Copyright CiviCRM LLC (c) 2004-2019                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
  */
 
 /**
  *  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;
   }