Completed
Pull Request — master (#1033)
by
unknown
01:46
created
controller/WebController.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -235,6 +235,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
@@ -569,6 +575,7 @@  discard block
 block discarded – undo
569 575
 
570 576
     /**
571 577
      * Invokes a very generic errorpage.
578
+     * @param Request $request
572 579
      */
573 580
     public function invokeGenericErrorPage($request, $message = null)
574 581
     {
Please login to merge, or discard this patch.
model/Model.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 
64 64
     /**
65 65
      * Return the logging facility
66
-     * @return object logger
66
+     * @return Monolog\Logger logger
67 67
      */
68 68
     public function getLogger() {
69 69
         return $this->logger;
@@ -546,7 +546,7 @@  discard block
 block discarded – undo
546 546
      * Get the label for a resource, preferring 1. the given language 2. configured languages 3. any language.
547 547
      * @param EasyRdf\Resource $res resource whose label to return
548 548
      * @param string $lang preferred language
549
-     * @return EasyRdf\Literal label as an EasyRdf\Literal object, or null if not found
549
+     * @return string label as an EasyRdf\Literal object, or null if not found
550 550
      */
551 551
     public function getResourceLabel($res, $lang)
552 552
     {
Please login to merge, or discard this patch.