fix a few more comments
authorEileen McNaughton <eileen@fuzion.co.nz>
Tue, 13 Jan 2015 01:33:40 +0000 (14:33 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Tue, 13 Jan 2015 01:33:40 +0000 (14:33 +1300)
CRM/Core/Error.php
CRM/Core/Smarty/plugins/function.crmAPI.php
CRM/Core/Smarty/plugins/prefilter.resetExtScope.php
CRM/Event/Form/Registration.php
CRM/Mailing/BAO/Mailing.php
CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php

index 896e5146a16ebedde9ff6832aec068a18a38c962..8a16fa3652b70674bb2ed818c1d7698351a40ac4 100644 (file)
@@ -953,8 +953,8 @@ class CRM_Core_Error extends PEAR_ErrorStack {
   }
 
   /**
-   * @param $error
-   * @param const $type
+   * @param array $error
+   * @param int $type
    *
    * @return bool
    */
index 973fec9817b5dce0ee1ec5d2b90708c7c5cc7346..aeb1795ef3f8d0679819b358506bd69496b8a2dc 100644 (file)
@@ -34,6 +34,9 @@
  */
 
 /**
+ * @param $params
+ * @param $smarty
+ * @return string|void
  */
 function smarty_function_crmAPI($params, &$smarty) {
   if (!array_key_exists('action', $params)) {
index e7b6501e7b91a5dcc91f3b4df7f11d801f4d7466..88bb6382c050aa89a30a64a8fd701f35b16f2206 100644 (file)
@@ -3,6 +3,9 @@
 /**
  * Wrap every Smarty template in a {crmScope} tag that sets the
  * variable "extensionKey" to blank.
+ * @param $tpl_source
+ * @param $smarty
+ * @return string
  */
 function smarty_prefilter_resetExtScope($tpl_source, &$smarty) {
   return
index ee8791049c7a61f860ce875bcc58b77f45f3e4f5..d5afd4e341737fa46de05ae4f1de47065bbbd969 100644 (file)
@@ -826,10 +826,9 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   /**
    * Process the participant
    *
-   * @param array $params
+   * @param CRM_Core_Form $form
    * @param int $contactID
-   *
-   * @return void
+   * @return \CRM_Event_BAO_Participant
    */
   public static function addParticipant(&$form, $contactID) {
     if (empty($form->_params)) {
index a51530a1ea5bd437fe4949331e9ddd1aa4284145..97ecd92d2954044504a87f75660bd77919b50814 100644 (file)
@@ -898,7 +898,7 @@ ORDER BY   i.contact_id, i.{$tempColumn}
    *  structures to represent the order in which tokens were found from left to right, top to bottom.
    *
    *
-   * @param string $propName of the property that holds the text that we want to scan for tokens (html, text).
+   * @param string $prop name of the property that holds the text that we want to scan for tokens (html, text).
    *   Name of the property that holds the text that we want to scan for tokens (html, text).
    *
    * @return void
index 52f9684ed0bc2e946ad83a64a703e2331ff06582..976729cbc033991569fc10d536fa69cf2c1c9f50 100644 (file)
@@ -1132,11 +1132,11 @@ GROUP BY     mt.member_of_contact_id";
    *
    * @param int $id
    *   Id of the database record.
-   * @param bool $isQuickConfigValue we want to set the is_quick_config field.
+   * @param bool $isQuickConfig we want to set the is_quick_config field.
    *   Value we want to set the is_quick_config field.
    *
    * @return Object
-   *   DAO object on sucess, null otherwise
+   *   DAO object on success, null otherwise
    */
   public static function setIsQuickConfig($id, $isQuickConfig) {
     return CRM_Core_DAO::setFieldValue('CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set', $id, 'is_quick_config', $isQuickConfig);