Skip to content

Commit

Permalink
Update event_registration.php
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr-w committed Feb 4, 2024
1 parent e744a98 commit 70fa024
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/event_registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public function setDateId(int $dateId): self
/**
* Gibt das Datum der Registrierung zurück.
*
* @return rex_yform_manager_collection|null Eine Sammlung von Daten oder null, wenn keine gefunden wurden.
* @return rex_yform_manager_dataset|null Eine Sammlung von Daten oder null, wenn keine gefunden wurden.
*
* Beispiel:
* ```php
Expand All @@ -252,14 +252,14 @@ public function setDateId(int $dateId): self
*
* Returns the date of the registration.
*
* @return rex_yform_manager_collection|null A collection of dates or null if none were found.
* @return rex_yform_manager_dataset|null A collection of dates or null if none were found.
*
* Example:
* ```php
* $date = $eventRegistration->getDate();
* ```
*/
public function getDate(): ?rex_yform_manager_collection
public function getDate(): ?rex_yform_manager_dataset
{
return $this->getRelatedDataset('date_id');
}
Expand Down

0 comments on commit 70fa024

Please sign in to comment.