@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | } |
261 | 261 | |
262 | 262 | /** |
263 | - * @param $dateString |
|
263 | + * @param string $dateString |
|
264 | 264 | * A UDB2 formatted date string |
265 | 265 | * |
266 | 266 | * @return DateTimeInterface |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | * Update the index |
279 | 279 | * @param $id |
280 | 280 | * @param EntityType $type |
281 | - * @param $userId |
|
281 | + * @param string|null $userId |
|
282 | 282 | * @param Domain $owningDomain |
283 | 283 | * @param DateTimeInterface $creationDate |
284 | 284 | */ |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | ); |
142 | 142 | } |
143 | 143 | |
144 | - return isset($userId) ? (string) $userId : ''; |
|
144 | + return isset($userId) ? (string)$userId : ''; |
|
145 | 145 | } |
146 | 146 | |
147 | 147 | /** |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | $this->updateIndex( |
167 | 167 | $eventId, |
168 | 168 | EntityType::EVENT(), |
169 | - (string) $userId, |
|
169 | + (string)$userId, |
|
170 | 170 | $this->UDB2Domain, |
171 | 171 | $creationDate |
172 | 172 | ); |