@@ -42,7 +42,7 @@ |
||
| 42 | 42 | private $parentUuid; |
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | - * @return string |
|
| 45 | + * @return UUID |
|
| 46 | 46 | */ |
| 47 | 47 | public function getAggregateRootId() |
| 48 | 48 | { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | - * @return StringLiteral |
|
| 86 | + * @return string |
|
| 87 | 87 | */ |
| 88 | 88 | public function getDescription() |
| 89 | 89 | { |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | /** |
| 94 | - * @return StringLiteral |
|
| 94 | + * @return string |
|
| 95 | 95 | */ |
| 96 | 96 | public function getCopyrightHolder() |
| 97 | 97 | { |
@@ -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 | { |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | |
| 107 | 107 | /** |
| 108 | 108 | * @param LabelName $labelName |
| 109 | - * @return \CultuurNet\UDB3\ReadModel\JsonDocument[]|\Generator |
|
| 109 | + * @return \Generator |
|
| 110 | 110 | */ |
| 111 | 111 | private function getRelatedItems(LabelName $labelName) |
| 112 | 112 | { |
@@ -540,7 +540,7 @@ discard block |
||
| 540 | 540 | |
| 541 | 541 | /** |
| 542 | 542 | * @param EventDeleted $eventDeleted |
| 543 | - * @return null |
|
| 543 | + * @return JsonDocument |
|
| 544 | 544 | */ |
| 545 | 545 | protected function applyEventDeleted(EventDeleted $eventDeleted) |
| 546 | 546 | { |
@@ -651,6 +651,9 @@ discard block |
||
| 651 | 651 | } |
| 652 | 652 | } |
| 653 | 653 | |
| 654 | + /** |
|
| 655 | + * @param string $eventId |
|
| 656 | + */ |
|
| 654 | 657 | private function generateSameAs($eventId, $name) |
| 655 | 658 | { |
| 656 | 659 | $eventSlug = $this->slugger->slug($name); |
@@ -241,7 +241,7 @@ |
||
| 241 | 241 | |
| 242 | 242 | /** |
| 243 | 243 | * @param PlaceDeleted $placeDeleted |
| 244 | - * @return null |
|
| 244 | + * @return JsonDocument |
|
| 245 | 245 | */ |
| 246 | 246 | protected function applyPlaceDeleted(PlaceDeleted $placeDeleted) |
| 247 | 247 | { |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * @param array $data |
| 35 | - * @return mixed The object instance |
|
| 35 | + * @return AbstractFacilitiesUpdated The object instance |
|
| 36 | 36 | */ |
| 37 | 37 | public static function deserialize(array $data) |
| 38 | 38 | { |
@@ -91,7 +91,7 @@ |
||
| 91 | 91 | /** |
| 92 | 92 | * Factory method to create a new event. |
| 93 | 93 | * |
| 94 | - * @param $eventId |
|
| 94 | + * @param string $eventId |
|
| 95 | 95 | * @param Language $mainLanguage |
| 96 | 96 | * @param Title $title |
| 97 | 97 | * @param EventType $eventType |
@@ -153,7 +153,7 @@ |
||
| 153 | 153 | } |
| 154 | 154 | |
| 155 | 155 | /** |
| 156 | - * @param \CultureFeed_Cdb_Data_DetailList|\CultureFeed_Cdb_Data_Detail[] $details |
|
| 156 | + * @param \CultureFeed_Cdb_Data_DetailList $details |
|
| 157 | 157 | * @param \stdClass $jsonLD |
| 158 | 158 | */ |
| 159 | 159 | public function importPriceInfo( |