@@ -40,7 +40,7 @@ |
||
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |
43 | - * @return ing |
|
43 | + * @return integer |
|
44 | 44 | */ |
45 | 45 | function getIndexToDelete() |
46 | 46 | { |
@@ -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); |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | |
19 | 19 | /** |
20 | 20 | * @param string $id |
21 | - * @param Object $bookingInfo |
|
21 | + * @param \CultuurNet\UDB3\BookingInfo $bookingInfo |
|
22 | 22 | */ |
23 | 23 | public function __construct($id, $bookingInfo) |
24 | 24 | { |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | } |
28 | 28 | |
29 | 29 | /** |
30 | - * @return mixed The object instance |
|
30 | + * @return BookingInfoUpdated The object instance |
|
31 | 31 | */ |
32 | 32 | public static function deserialize(array $data) |
33 | 33 | { |
@@ -42,7 +42,7 @@ |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
45 | - * @return mixed The object instance |
|
45 | + * @return EventCreatedFromCdbXml The object instance |
|
46 | 46 | */ |
47 | 47 | public static function deserialize(array $data) |
48 | 48 | { |
@@ -42,7 +42,7 @@ |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
45 | - * @return mixed The object instance |
|
45 | + * @return EventUpdatedFromCdbXml The object instance |
|
46 | 46 | */ |
47 | 47 | public static function deserialize(array $data) |
48 | 48 | { |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | } |
126 | 126 | |
127 | 127 | /** |
128 | - * @param $dateString |
|
128 | + * @param string $dateString |
|
129 | 129 | * @return \DateTime |
130 | 130 | */ |
131 | 131 | private function dateFromUdb2DateString($dateString) |
@@ -351,7 +351,7 @@ discard block |
||
351 | 351 | |
352 | 352 | /** |
353 | 353 | * @param string $eventId |
354 | - * @param Log[]|Log $logs |
|
354 | + * @param Log $logs |
|
355 | 355 | */ |
356 | 356 | protected function writeHistory($eventId, $logs) |
357 | 357 | { |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | } |
113 | 113 | |
114 | 114 | /** |
115 | - * @param $dateString |
|
115 | + * @param string $dateString |
|
116 | 116 | * @return \DateTime |
117 | 117 | */ |
118 | 118 | private function dateFromUdb2DateString($dateString) |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | |
162 | 162 | /** |
163 | 163 | * @param \CultureFeed_Cdb_Item_Event $event |
164 | - * @param $jsonLD |
|
164 | + * @param \stdClass $jsonLD |
|
165 | 165 | */ |
166 | 166 | private function importLabels(\CultureFeed_Cdb_Item_Event $event, $jsonLD) |
167 | 167 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * Gets the JSON-LD structure of an Organizer. |
17 | 17 | * |
18 | - * @param string $organizerId |
|
18 | + * @param string $oganizerId |
|
19 | 19 | * Id of the Organizer. |
20 | 20 | * |
21 | 21 | * @return \stdClass |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use CultuurNet\UDB3\Event\ReadModel\Permission\PermissionQueryInterface; |
12 | 12 | use Doctrine\DBAL\Connection; |
13 | 13 | use Doctrine\DBAL\Exception\UniqueConstraintViolationException; |
14 | -use Doctrine\DBAL\Schema\Schema; |
|
15 | 14 | use CultuurNet\UDB3\Event\ReadModel\Permission\PermissionRepositoryInterface; |
16 | 15 | use ValueObjects\String\String; |
17 | 16 |