fix some spelling:
[civicrm-core.git] / CRM / Event / BAO / Event.php
index 0a6fba66a2bc8d03f703cb9aed071e80b12ba15b..80e449da2e766cde9ac7a01635dff19890aad290 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event {
    * @param array $defaults
    *   (reference ) an assoc array to hold the flattened values.
    *
-   * @return CRM_Event_BAO_ManageEvent object
+   * @return CRM_Event_BAO_ManageEvent
    * @static
    */
   public static function retrieve(&$params, &$defaults) {
@@ -655,7 +655,8 @@ $event_summary_limit
    * @param int $id
    *   For which we want map info.
    *
-   * @return null|string     title of the event
+   * @return null|string
+   *   title of the event
    * @static
    */
   public static function &getMapInfo(&$id) {
@@ -914,16 +915,15 @@ WHERE civicrm_event.is_active = 1
    *
    * @param int $id
    *   The event id to copy.
-   *        obj     $newEvent    object of CRM_Event_DAO_Event
    *        boolean $afterCreate call to copy after the create function
    * @param null $newEvent
    * @param bool $afterCreate
    *
-   * @return void
+   * @return CRM_Event_DAO_Event
    */
   public static function copy($id, $newEvent = NULL, $afterCreate = FALSE) {
 
-    $defaults = $eventValues = array();
+    $eventValues = array();
 
     //get the require event values.
     $eventParams = array('id' => $id);
@@ -2158,7 +2158,7 @@ LEFT  JOIN  civicrm_price_field_value value ON ( value.id = lineItem.price_field
    *   Event template id.
    *
    * @return array
-   *   of custom data defaults.
+   *   Array of custom data defaults.
    */
   public static function getTemplateDefaultValues($templateId) {
     $defaults = array();