Fix inaccuracies and mistakes in comments
[civicrm-core.git] / CRM / Event / BAO / Participant.php
index 1964f754632d65268996ede4975d765eda0b3d5b..913a29bb1ddf4da4f5d4d6d9a312c8bf36dfb6e5 100644 (file)
@@ -798,7 +798,7 @@ WHERE  civicrm_participant.id = {$participantId}
    *
    * @param array $defaults
    * @param string $property
-   * @param string $lookup
+   * @param string[] $lookup
    * @param bool $reverse
    *
    * @return bool
@@ -1596,8 +1596,7 @@ UPDATE  civicrm_participant
    * @param int $newStatusId
    *   New status.
    *
-   * @return bool
-   *   true if allowed
+   * @return array
    */
   public static function getValidAdditionalIds($participantId, $oldStatusId, $newStatusId) {