@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | * |
| 215 | 215 | * @param Concept $concept |
| 216 | 216 | * @param Vocabulary $vocab |
| 217 | - * @return DateTime|null |
|
| 217 | + * @return DateTime |
|
| 218 | 218 | */ |
| 219 | 219 | protected function getModifiedDate(Concept $concept, Vocabulary $vocab) |
| 220 | 220 | { |
@@ -361,6 +361,11 @@ discard block |
||
| 361 | 361 | )); |
| 362 | 362 | } |
| 363 | 363 | |
| 364 | + /** |
|
| 365 | + * @param string $fromName |
|
| 366 | + * @param string|null $fromEmail |
|
| 367 | + * @param string $sender |
|
| 368 | + */ |
|
| 364 | 369 | private function createFeedbackHeaders($fromName, $fromEmail, $toMail, $sender) |
| 365 | 370 | { |
| 366 | 371 | $headers = "MIME-Version: 1.0" . "\r\n"; |
@@ -382,6 +387,7 @@ discard block |
||
| 382 | 387 | * @param string $fromName senders own name. |
| 383 | 388 | * @param string $fromEmail senders email address. |
| 384 | 389 | * @param string $fromVocab which vocabulary is the feedback related to. |
| 390 | + * @param string $toMail |
|
| 385 | 391 | */ |
| 386 | 392 | public function sendFeedback($request, $message, $fromName = null, $fromEmail = null, $fromVocab = null, $toMail = null) |
| 387 | 393 | { |
@@ -662,6 +668,7 @@ discard block |
||
| 662 | 668 | |
| 663 | 669 | /** |
| 664 | 670 | * Invokes a very generic errorpage. |
| 671 | + * @param string $message |
|
| 665 | 672 | */ |
| 666 | 673 | public function invokeGenericErrorPage($request, $message = null) |
| 667 | 674 | { |