@@ -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 | { |
@@ -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 |
@@ -24,7 +24,7 @@ |
||
24 | 24 | } |
25 | 25 | |
26 | 26 | /** |
27 | - * @return StringLiteral |
|
27 | + * @return string |
|
28 | 28 | */ |
29 | 29 | public function getTitle() |
30 | 30 | { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | } |
25 | 25 | |
26 | 26 | /** |
27 | - * @return StringLiteral |
|
27 | + * @return string |
|
28 | 28 | */ |
29 | 29 | public function getTitle() |
30 | 30 | { |
@@ -624,7 +624,7 @@ |
||
624 | 624 | } |
625 | 625 | |
626 | 626 | /** |
627 | - * @return callable |
|
627 | + * @return \Closure |
|
628 | 628 | */ |
629 | 629 | private function reject() |
630 | 630 | { |
@@ -80,7 +80,7 @@ |
||
80 | 80 | /** |
81 | 81 | * Factory method to create a new event. |
82 | 82 | * |
83 | - * @param $eventId |
|
83 | + * @param string $eventId |
|
84 | 84 | * @param Title $title |
85 | 85 | * @param EventType $eventType |
86 | 86 | * @param Location $location |
@@ -20,6 +20,7 @@ discard block |
||
20 | 20 | * |
21 | 21 | * @param string $id |
22 | 22 | * @param string $description |
23 | + * @return string |
|
23 | 24 | */ |
24 | 25 | public function updateDescription($id, $description); |
25 | 26 | |
@@ -28,6 +29,7 @@ discard block |
||
28 | 29 | * |
29 | 30 | * @param string $id |
30 | 31 | * @param string $ageRange |
32 | + * @return string |
|
31 | 33 | */ |
32 | 34 | public function updateTypicalAgeRange($id, $ageRange); |
33 | 35 | |
@@ -35,6 +37,7 @@ discard block |
||
35 | 37 | * Delete the typical age range of a place. |
36 | 38 | * |
37 | 39 | * @param string $id |
40 | + * @return string |
|
38 | 41 | */ |
39 | 42 | public function deleteTypicalAgeRange($id); |
40 | 43 | |
@@ -43,6 +46,7 @@ discard block |
||
43 | 46 | * |
44 | 47 | * @param string $id |
45 | 48 | * @param string $organizerId |
49 | + * @return string |
|
46 | 50 | */ |
47 | 51 | public function updateOrganizer($id, $organizerId); |
48 | 52 | |
@@ -51,6 +55,7 @@ discard block |
||
51 | 55 | * |
52 | 56 | * @param string $id |
53 | 57 | * @param string $organizerId |
58 | + * @return string |
|
54 | 59 | */ |
55 | 60 | public function deleteOrganizer($id, $organizerId); |
56 | 61 | |
@@ -59,6 +64,7 @@ discard block |
||
59 | 64 | * |
60 | 65 | * @param string $id |
61 | 66 | * @param ContactPoint $contactPoint |
67 | + * @return string |
|
62 | 68 | */ |
63 | 69 | public function updateContactPoint($id, ContactPoint $contactPoint); |
64 | 70 | |
@@ -67,6 +73,7 @@ discard block |
||
67 | 73 | * |
68 | 74 | * @param string $id |
69 | 75 | * @param Image $image |
76 | + * @return string |
|
70 | 77 | */ |
71 | 78 | public function addImage($id, Image $image); |
72 | 79 | |
@@ -93,6 +100,7 @@ discard block |
||
93 | 100 | * |
94 | 101 | * @param string $id |
95 | 102 | * @param Image $image |
103 | + * @return string |
|
96 | 104 | */ |
97 | 105 | public function removeImage($id, Image $image); |
98 | 106 |