Completed
Pull Request — master (#992)
by Osma
02:33
created
model/Vocabulary.php 1 patch
Doc Comments   +12 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      * Get the localname of a concept in the vocabulary. If the URI is not
122 122
      * in the URI space of this vocabulary, return the full URI.
123 123
      *
124
-     * @param $uri string full URI of concept
124
+     * @param string $uri string full URI of concept
125 125
      * @return string local name of concept, or original full URI if the local name cannot be determined
126 126
      */
127 127
     public function getLocalName($uri)
@@ -293,6 +293,8 @@  discard block
 block discarded – undo
293 293
 
294 294
     /**
295 295
      * Counts the statistics of the vocabulary.
296
+     * @param string $array
297
+     * @param string $group
296 298
      * @return array of the concept/group counts
297 299
      */
298 300
     public function getStatistics($lang = '', $array=null, $group=null)
@@ -332,6 +334,7 @@  discard block
 block discarded – undo
332 334
     /**
333 335
      * Gets the child relations of a concept and whether these children have more children.
334 336
      * @param string $uri
337
+     * @param string $lang
335 338
      */
336 339
     public function getConceptChildren($uri, $lang)
337 340
     {
@@ -440,6 +443,8 @@  discard block
 block discarded – undo
440 443
     /**
441 444
      * Lists the concepts available in the concept group.
442 445
      * @param $clname
446
+     * @param string $glname
447
+     * @param string $clang
443 448
      * @return array
444 449
      */
445 450
     public function listConceptGroupContents($glname, $clang)
@@ -466,7 +471,7 @@  discard block
 block discarded – undo
466 471
     /**
467 472
      * Returns the letters of the alphabet which have been used in this vocabulary.
468 473
      * The returned letters may also include specials such as '0-9' (digits) and '!*' (special characters).
469
-     * @param $clang content language
474
+     * @param string $clang content language
470 475
      * @return array array of letters
471 476
      */
472 477
     public function getAlphabet($clang)
@@ -501,6 +506,7 @@  discard block
 block discarded – undo
501 506
      * Also the special tokens '0-9' (digits), '!*' (special characters) and '*'
502 507
      * (everything) are supported.
503 508
      * @param $letter letter (or special token) to search for
509
+     * @param string $clang
504 510
      */
505 511
     public function searchConceptsAlphabetical($letter, $limit = null, $offset = null, $clang = null)
506 512
     {
@@ -607,6 +613,7 @@  discard block
 block discarded – undo
607 613
      * Returns a list of recently changed or entirely new concepts.
608 614
      * @param string $clang content language for the labels
609 615
      * @param string $lang UI language for the dates
616
+     * @param string $prop
610 617
      * @return Array
611 618
      */
612 619
     public function getChangeList($prop, $clang, $lang, $offset)
@@ -620,6 +627,9 @@  discard block
 block discarded – undo
620 627
       return $bydate;
621 628
     }
622 629
 
630
+    /**
631
+     * @param string $lang
632
+     */
623 633
     public function getTitle($lang=null) {
624 634
       return $this->config->getTitle($lang);
625 635
     }
Please login to merge, or discard this patch.
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
     {
@@ -538,6 +544,7 @@  discard block
 block discarded – undo
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
     {
Please login to merge, or discard this patch.