@@ -24,7 +24,7 @@ |
||
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | - * @return StringLiteral |
|
| 27 | + * @return string |
|
| 28 | 28 | */ |
| 29 | 29 | public function getDescription() |
| 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 |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | 15 | * OpeningHours constructor. |
| 16 | - * @param OpeningHour[]|null $openingHours |
|
| 16 | + * @param OpeningHour[] $openingHours |
|
| 17 | 17 | */ |
| 18 | 18 | public function __construct(array $openingHours = null) |
| 19 | 19 | { |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | } |
| 173 | 173 | |
| 174 | 174 | /** |
| 175 | - * @param $dateString |
|
| 175 | + * @param string $dateString |
|
| 176 | 176 | * @return \DateTime |
| 177 | 177 | */ |
| 178 | 178 | protected function dateFromUdb2DateString($dateString) |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | |
| 187 | 187 | /** |
| 188 | 188 | * @param Metadata $metadata |
| 189 | - * @return String|null |
|
| 189 | + * @return StringLiteral|null |
|
| 190 | 190 | */ |
| 191 | 191 | protected function getAuthorFromMetadata(Metadata $metadata) |
| 192 | 192 | { |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | |
| 200 | 200 | /** |
| 201 | 201 | * @param Metadata $metadata |
| 202 | - * @return String|null |
|
| 202 | + * @return StringLiteral|null |
|
| 203 | 203 | */ |
| 204 | 204 | protected function getConsumerFromMetadata(Metadata $metadata) |
| 205 | 205 | { |
@@ -227,7 +227,7 @@ discard block |
||
| 227 | 227 | |
| 228 | 228 | /** |
| 229 | 229 | * @param string $eventId |
| 230 | - * @param Log[]|Log $logs |
|
| 230 | + * @param Log $logs |
|
| 231 | 231 | */ |
| 232 | 232 | protected function writeHistory($eventId, $logs) |
| 233 | 233 | { |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | protected $user; |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | - * @param StringLiteral $userId |
|
| 19 | + * @param StringLiteral $user |
|
| 20 | 20 | */ |
| 21 | 21 | public function __construct(\CultureFeed_User $user) |
| 22 | 22 | { |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | protected $emailAddress; |
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | - * @param StringLiteral $userId |
|
| 16 | 15 | */ |
| 17 | 16 | public function __construct(EmailAddress $emailAddress) |
| 18 | 17 | { |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | 66 | * @param StringLiteral $createdByIdentifier |
| 67 | - * @return String |
|
| 67 | + * @return StringLiteral|null |
|
| 68 | 68 | */ |
| 69 | 69 | private function resolveByEmailOrByNick(StringLiteral $createdByIdentifier) |
| 70 | 70 | { |