[NFC] comment fixes relating to doc blocks, spelling
[civicrm-core.git] / CRM / Member / BAO / MembershipType.php
index 796e047a0731b3b474d446b7240f668795a69e39..9c0a4e683a2bbeb1cfd231244e6ab3ce3b173d33 100644 (file)
@@ -76,8 +76,8 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object
-   *   DAO object on success, null otherwise
+   * @return bool
+   *   true if we found and updated the object, else false
    */
   public static function setIsActive($id, $is_active) {
     return CRM_Core_DAO::setFieldValue('CRM_Member_DAO_MembershipType', $id, 'is_active', $is_active);