Merge pull request #16302 from colemanw/wildcards
[civicrm-core.git] / Civi / Api4 / Generic / AbstractAction.php
index d81c9aa33a20e481c013b8c0de8920694cde85db..965c5fc7242a4b57568a7d6763a35da548e45353 100644 (file)
@@ -383,12 +383,13 @@ abstract class AbstractAction implements \ArrayAccess {
   /**
    * Returns schema fields for this entity & action.
    *
-   * Here we bypass the api wrapper and execute the getFields action directly.
+   * Here we bypass the api wrapper and run the getFields action directly.
    * This is because we DON'T want the wrapper to check permissions as this is an internal op,
    * but we DO want permissions to be checked inside the getFields request so e.g. the api_key
    * field can be conditionally included.
    * @see \Civi\Api4\Action\Contact\GetFields
    *
+   * @throws \API_Exception
    * @return array
    */
   public function entityFields() {