@@ -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 |
@@ -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 | { |
@@ -124,6 +124,9 @@ discard block |
||
| 124 | 124 | return $expandedProperties; |
| 125 | 125 | } |
| 126 | 126 | |
| 127 | + /** |
|
| 128 | + * @param string[] $include |
|
| 129 | + */ |
|
| 127 | 130 | protected function includedOrDefaultProperties($include) |
| 128 | 131 | { |
| 129 | 132 | if ($include) { |
@@ -462,7 +465,7 @@ discard block |
||
| 462 | 465 | } |
| 463 | 466 | |
| 464 | 467 | /** |
| 465 | - * @param object $event |
|
| 468 | + * @param \stdClass $event |
|
| 466 | 469 | * @param string|null $type |
| 467 | 470 | * @return object |
| 468 | 471 | */ |