@@ -81,6 +81,7 @@ |
||
| 81 | 81 | * @param CalendarInterface $calendar |
| 82 | 82 | * @param Theme|null $theme |
| 83 | 83 | * @param \DateTimeImmutable|null $publicationDate |
| 84 | + * @param string $eventId |
|
| 84 | 85 | * |
| 85 | 86 | * @return Event |
| 86 | 87 | */ |
@@ -23,6 +23,7 @@ discard block |
||
| 23 | 23 | * |
| 24 | 24 | * @param string $id |
| 25 | 25 | * @param string $description |
| 26 | + * @return string |
|
| 26 | 27 | */ |
| 27 | 28 | public function updateDescription($id, $description); |
| 28 | 29 | |
@@ -31,6 +32,7 @@ discard block |
||
| 31 | 32 | * |
| 32 | 33 | * @param string $id |
| 33 | 34 | * @param string $ageRange |
| 35 | + * @return string |
|
| 34 | 36 | */ |
| 35 | 37 | public function updateTypicalAgeRange($id, $ageRange); |
| 36 | 38 | |
@@ -38,6 +40,7 @@ discard block |
||
| 38 | 40 | * Delete the typical age range of a place. |
| 39 | 41 | * |
| 40 | 42 | * @param string $id |
| 43 | + * @return string |
|
| 41 | 44 | */ |
| 42 | 45 | public function deleteTypicalAgeRange($id); |
| 43 | 46 | |
@@ -46,6 +49,7 @@ discard block |
||
| 46 | 49 | * |
| 47 | 50 | * @param string $id |
| 48 | 51 | * @param string $organizerId |
| 52 | + * @return string |
|
| 49 | 53 | */ |
| 50 | 54 | public function updateOrganizer($id, $organizerId); |
| 51 | 55 | |
@@ -54,6 +58,7 @@ discard block |
||
| 54 | 58 | * |
| 55 | 59 | * @param string $id |
| 56 | 60 | * @param string $organizerId |
| 61 | + * @return string |
|
| 57 | 62 | */ |
| 58 | 63 | public function deleteOrganizer($id, $organizerId); |
| 59 | 64 | |
@@ -62,6 +67,7 @@ discard block |
||
| 62 | 67 | * |
| 63 | 68 | * @param string $id |
| 64 | 69 | * @param ContactPoint $contactPoint |
| 70 | + * @return string |
|
| 65 | 71 | */ |
| 66 | 72 | public function updateContactPoint($id, ContactPoint $contactPoint); |
| 67 | 73 | |
@@ -70,6 +76,7 @@ discard block |
||
| 70 | 76 | * |
| 71 | 77 | * @param string $id |
| 72 | 78 | * @param Image $image |
| 79 | + * @return string |
|
| 73 | 80 | */ |
| 74 | 81 | public function addImage($id, Image $image); |
| 75 | 82 | |
@@ -96,6 +103,7 @@ discard block |
||
| 96 | 103 | * |
| 97 | 104 | * @param string $id |
| 98 | 105 | * @param Image $image |
| 106 | + * @return string |
|
| 99 | 107 | */ |
| 100 | 108 | public function removeImage($id, Image $image); |
| 101 | 109 | |
@@ -103,7 +111,7 @@ discard block |
||
| 103 | 111 | * @param Title $title |
| 104 | 112 | * @param EventType $eventType |
| 105 | 113 | * @param Location $location |
| 106 | - * @param CalendarBase $calendar |
|
| 114 | + * @param CalendarInterface $calendar |
|
| 107 | 115 | * @param Theme/null $theme |
| 108 | 116 | * |
| 109 | 117 | * @return string $eventId |
@@ -115,7 +123,7 @@ discard block |
||
| 115 | 123 | * @param Title $title |
| 116 | 124 | * @param EventType $eventType |
| 117 | 125 | * @param Location $location |
| 118 | - * @param CalendarBase $calendar |
|
| 126 | + * @param CalendarInterface $calendar |
|
| 119 | 127 | * @param Theme/null $theme |
| 120 | 128 | * |
| 121 | 129 | * @return string $eventId |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | 47 | * @param array $data |
| 48 | - * @return mixed The object instance |
|
| 48 | + * @return AbstractLabelEvent The object instance |
|
| 49 | 49 | */ |
| 50 | 50 | public static function deserialize(array $data) |
| 51 | 51 | { |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * @param string $id |
| 37 | 37 | * A string uniquely identifying an event. |
| 38 | 38 | * |
| 39 | - * @return array |
|
| 39 | + * @return string |
|
| 40 | 40 | * An event array. |
| 41 | 41 | * |
| 42 | 42 | * @throws EventNotFoundException if an event can not be found for the given id |
@@ -116,7 +116,7 @@ |
||
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | /** |
| 119 | - * @return string |
|
| 119 | + * @return UUID |
|
| 120 | 120 | */ |
| 121 | 121 | public function getFileId() |
| 122 | 122 | { |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | - * @return StringLiteral |
|
| 25 | + * @return stringLiteral |
|
| 26 | 26 | */ |
| 27 | 27 | public function getName() |
| 28 | 28 | { |
@@ -116,7 +116,7 @@ |
||
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | /** |
| 119 | - * @return string |
|
| 119 | + * @return UUID |
|
| 120 | 120 | */ |
| 121 | 121 | public function getFileId() |
| 122 | 122 | { |
@@ -421,7 +421,7 @@ |
||
| 421 | 421 | } |
| 422 | 422 | |
| 423 | 423 | /** |
| 424 | - * @param $dateString |
|
| 424 | + * @param string $dateString |
|
| 425 | 425 | * A UDB2 formatted date string |
| 426 | 426 | * |
| 427 | 427 | * @return DateTimeInterface |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | |
| 128 | 128 | /** |
| 129 | 129 | * @param UUID $uuid |
| 130 | - * @return \CultuurNet\UDB3\ReadModel\JsonDocument[]|\Generator |
|
| 130 | + * @return \Generator |
|
| 131 | 131 | */ |
| 132 | 132 | private function getRelatedOffers(UUID $uuid) |
| 133 | 133 | { |