Merge pull request #24022 from colemanw/afformFrontend
[civicrm-core.git] / CRM / Core / Permission / Base.php
index c0ac7fcf7447625b50042a1e8a511a5a5a5ca7b9..9b1ae5709bbcfa3486bfe22485ba5a401efe33ef 100644 (file)
@@ -75,10 +75,10 @@ class CRM_Core_Permission_Base {
   }
 
   /**
-   * Get the current permission of this user.
+   * Get the maximum permission of the current user with respect to _any_ contact records.
    *
-   * @return string
-   *   the permission of the user (edit or view or null)
+   * @return int|string|null
+   * @see \CRM_Core_Permission::getPermission()
    */
   public function getPermission() {
     $this->group();