@@ -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 | { |
@@ -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 | { |