@@ -799,6 +799,9 @@ |
||
799 | 799 | return $document; |
800 | 800 | } |
801 | 801 | |
802 | + /** |
|
803 | + * @param string $eventId |
|
804 | + */ |
|
802 | 805 | private function generateSameAs($eventId, $name) |
803 | 806 | { |
804 | 807 | $eventSlug = $this->slugger->slug($name); |
@@ -78,6 +78,9 @@ |
||
78 | 78 | return $document->getRawBody(); |
79 | 79 | } |
80 | 80 | |
81 | + /** |
|
82 | + * @param string $id |
|
83 | + */ |
|
81 | 84 | public function iri($id) |
82 | 85 | { |
83 | 86 | return $this->iriGenerator->iri($id); |
@@ -48,7 +48,7 @@ |
||
48 | 48 | |
49 | 49 | /** |
50 | 50 | * @param array $data |
51 | - * @return mixed The object instance |
|
51 | + * @return AbstractImageEvent The object instance |
|
52 | 52 | */ |
53 | 53 | public static function deserialize(array $data) |
54 | 54 | { |
@@ -70,7 +70,7 @@ |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @param mixed $json |
|
73 | + * @param stdClass $json |
|
74 | 74 | * |
75 | 75 | * @throws ValidationException |
76 | 76 | */ |
@@ -70,7 +70,7 @@ |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @param mixed $json |
|
73 | + * @param stdClass $json |
|
74 | 74 | * |
75 | 75 | * @throws ValidationException |
76 | 76 | */ |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | } |
187 | 187 | |
188 | 188 | /** |
189 | - * @param $id |
|
189 | + * @param string $id |
|
190 | 190 | * @param EntityType $entityType |
191 | 191 | * @return bool |
192 | 192 | */ |
@@ -316,6 +316,9 @@ discard block |
||
316 | 316 | ); |
317 | 317 | } |
318 | 318 | |
319 | + /** |
|
320 | + * @param string $userId |
|
321 | + */ |
|
319 | 322 | private function getPagedDashboardItems( |
320 | 323 | $userId, |
321 | 324 | Natural $limit, |
@@ -340,6 +343,10 @@ discard block |
||
340 | 343 | |
341 | 344 | $results = $queryBuilder->execute(); |
342 | 345 | $offerIdentifierArray = array_map( |
346 | + |
|
347 | + /** |
|
348 | + * @param string $resultRow |
|
349 | + */ |
|
343 | 350 | function ($resultRow) { |
344 | 351 | $offerIdentifier = new IriOfferIdentifier( |
345 | 352 | $resultRow['entity_iri'], |
@@ -38,7 +38,7 @@ |
||
38 | 38 | } |
39 | 39 | |
40 | 40 | /** |
41 | - * @return mixed The object instance |
|
41 | + * @return AbstractContactPointUpdated The object instance |
|
42 | 42 | */ |
43 | 43 | public static function deserialize(array $data) |
44 | 44 | { |
@@ -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 |