@@ -269,6 +269,11 @@ discard block |
||
269 | 269 | )); |
270 | 270 | } |
271 | 271 | |
272 | + /** |
|
273 | + * @param string $fromName |
|
274 | + * @param string|null $fromEmail |
|
275 | + * @param string $sender |
|
276 | + */ |
|
272 | 277 | private function createFeedbackHeaders($fromName, $fromEmail, $toMail, $sender) |
273 | 278 | { |
274 | 279 | $headers = "MIME-Version: 1.0″ . '\r\n"; |
@@ -291,6 +296,7 @@ discard block |
||
291 | 296 | * @param string $fromName senders own name. |
292 | 297 | * @param string $fromEmail senders email adress. |
293 | 298 | * @param string $fromVocab which vocabulary is the feedback related to. |
299 | + * @param string $toMail |
|
294 | 300 | */ |
295 | 301 | public function sendFeedback($request, $message, $fromName = null, $fromEmail = null, $fromVocab = null, $toMail = null) |
296 | 302 | { |
@@ -571,6 +577,7 @@ discard block |
||
571 | 577 | |
572 | 578 | /** |
573 | 579 | * Invokes a very generic errorpage. |
580 | + * @param string $message |
|
574 | 581 | */ |
575 | 582 | public function invokeGenericErrorPage($request, $message = null) |
576 | 583 | { |
@@ -23,6 +23,7 @@ discard block |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * Initializes the Model object. |
26 | + * @param Model $model |
|
26 | 27 | */ |
27 | 28 | public function __construct($model) |
28 | 29 | { |
@@ -146,7 +147,7 @@ discard block |
||
146 | 147 | * Finally, if no date found, return null. |
147 | 148 | * |
148 | 149 | * @param Concept $concept |
149 | - * @return DateTime|null |
|
150 | + * @return DateTime |
|
150 | 151 | */ |
151 | 152 | protected function getModifiedDate(Concept $concept = null) |
152 | 153 | { |
@@ -300,7 +301,7 @@ discard block |
||
300 | 301 | * Sends HTTP headers. Simply calls PHP built-in header function. But being |
301 | 302 | * a function here, it can easily be tested/mocked. |
302 | 303 | * |
303 | - * @param $header string header to be sent |
|
304 | + * @param string $header string header to be sent |
|
304 | 305 | */ |
305 | 306 | protected function sendHeader($header) |
306 | 307 | { |