@@ -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 | { |
@@ -290,7 +291,7 @@ discard block |
||
| 290 | 291 | * Sends HTTP headers. Simply calls PHP built-in header function. But being |
| 291 | 292 | * a function here, it can easily be tested/mocked. |
| 292 | 293 | * |
| 293 | - * @param $header string header to be sent |
|
| 294 | + * @param string $header string header to be sent |
|
| 294 | 295 | */ |
| 295 | 296 | protected function sendHeader($header) |
| 296 | 297 | { |
@@ -235,6 +235,11 @@ discard block |
||
| 235 | 235 | )); |
| 236 | 236 | } |
| 237 | 237 | |
| 238 | + /** |
|
| 239 | + * @param string $fromName |
|
| 240 | + * @param string|null $fromEmail |
|
| 241 | + * @param string $sender |
|
| 242 | + */ |
|
| 238 | 243 | private function createFeedbackHeaders($fromName, $fromEmail, $toMail, $sender) |
| 239 | 244 | { |
| 240 | 245 | $headers = "MIME-Version: 1.0" . "\r\n"; |
@@ -256,6 +261,7 @@ discard block |
||
| 256 | 261 | * @param string $fromName senders own name. |
| 257 | 262 | * @param string $fromEmail senders email address. |
| 258 | 263 | * @param string $fromVocab which vocabulary is the feedback related to. |
| 264 | + * @param string $toMail |
|
| 259 | 265 | */ |
| 260 | 266 | public function sendFeedback($request, $message, $fromName = null, $fromEmail = null, $fromVocab = null, $toMail = null) |
| 261 | 267 | { |
@@ -538,6 +544,7 @@ discard block |
||
| 538 | 544 | |
| 539 | 545 | /** |
| 540 | 546 | * Invokes a very generic errorpage. |
| 547 | + * @param string $message |
|
| 541 | 548 | */ |
| 542 | 549 | public function invokeGenericErrorPage($request, $message = null) |
| 543 | 550 | { |