INFRA-132 - Fix @static docblock tag
[civicrm-core.git] / api / v3 / Extension.php
index 03e56df720d7e46f3e6c95508eccdc6ebce1868e..499bb054f5321505f5a54340f233c5a0f09df9ca 100644 (file)
@@ -48,8 +48,9 @@ define('API_V3_EXTENSION_DELIMITER', ',');
  *                          - keys: mixed; array of string, eg array("com.example.myextension1", "com.example.myextension2") or string with comma-delimited list
  *                            using 'keys' should be more performant than making multiple API calls with 'key'
  *
- * @return array API result
- * @static void
+ * @return array
+ *   API result
+ * @static
  * @access public
  * @example ExtensionInstall.php
  *
@@ -73,8 +74,9 @@ function civicrm_api3_extension_install($params) {
 /**
  * Upgrade an extension - runs upgrade_N hooks and system.flush
  *
- * @return array API result
- * @static void
+ * @return array
+ *   API result
+ * @static
  * @access public
  *
  */
@@ -111,8 +113,9 @@ function civicrm_api3_extension_upgrade() {
  *                          - keys: mixed; array of string, eg array("com.example.myextension1", "com.example.myextension2") or string with comma-delimited list
  *                            using 'keys' should be more performant than making multiple API calls with 'key'
  *
- * @return array API result
- * @static void
+ * @return array
+ *   API result
+ * @static
  * @access public
  * @example ExtensionEnable.php
  *
@@ -136,8 +139,9 @@ function civicrm_api3_extension_enable($params) {
  *                          - keys: mixed; array of string, eg array("com.example.myextension1", "com.example.myextension2") or string with comma-delimited list
  *                            using 'keys' should be more performant than making multiple API calls with 'key'
  *
- * @return array API result
- * @static void
+ * @return array
+ *   API result
+ * @static
  * @access public
  * @example ExtensionDisable.php
  *
@@ -162,8 +166,9 @@ function civicrm_api3_extension_disable($params) {
  *                            using 'keys' should be more performant than making multiple API calls with 'key'
  *                          - removeFiles: bool, whether to remove source tree; default: FALSE
  *
- * @return array API result
- * @static void
+ * @return array
+ *   API result
+ * @static
  * @access public
  * @example ExtensionUninstall.php
  *
@@ -188,8 +193,9 @@ function civicrm_api3_extension_uninstall($params) {
  *                          - url: string eg "http://repo.com/myextension-1.0.zip"
  *
  * @throws API_Exception
- * @return array API result
- * @static void
+ * @return array
+ *   API result
+ * @static
  * @access public
  * @example ExtensionDownload.php
  */
@@ -239,8 +245,9 @@ function civicrm_api3_extension_download($params) {
  *                          - local: bool, whether to rescan local filesystem (default: TRUE)
  *                          - remote: bool, whether to rescan remote repository (default: TRUE)
  *
- * @return array API result
- * @static void
+ * @return array
+ *   API result
+ * @static
  * @access public
  * @example ExtensionRefresh.php
  *
@@ -271,8 +278,9 @@ function civicrm_api3_extension_refresh($params) {
  *
  * @param array $params
  *
- * @return array API result
- * @static void
+ * @return array
+ *   API result
+ * @static
  * @access public
  * @example ExtensionGet.php
  */
@@ -298,7 +306,8 @@ function civicrm_api3_extension_get($params) {
  *
  * @param array $params
  *   API request params with 'key' or 'keys'.
- * @return array of extension keys
+ * @return array
+ *   Array of extension keys
  * @throws API_Exception
  */
 function _civicrm_api3_getKeys($params) {