Passed
Pull Request — development (#395)
by Thomas
08:57
created
htdocs/lib2/logic/attribute.class.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -23,6 +23,10 @@
 block discarded – undo
23 23
         return self::getAttrbutesListArrayInternal($cacheId, false, $firstLetterUppercase);
24 24
     }
25 25
 
26
+    /**
27
+     * @param boolean $bOnlySelectable
28
+     * @param boolean $firstLetterUppercase
29
+     */
26 30
     public static function getAttrbutesListArrayInternal($cacheId, $bOnlySelectable, $firstLetterUppercase)
27 31
     {
28 32
         global $opt;
Please login to merge, or discard this patch.
htdocs/lib2/logic/coordinate.class.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -303,6 +303,10 @@  discard block
 block discarded – undo
303 303
         return 'R ' . floor($result[0]) . ' H ' . floor($result[1]);
304 304
     }
305 305
 
306
+    /**
307
+     * @param integer $bw
308
+     * @param integer $lw
309
+     */
306 310
     public function wgs2pot($bw, $lw)
307 311
     {
308 312
         /* Copyright (c) 2006, HELMUT H. HEIMEIER
@@ -602,6 +606,9 @@  discard block
 block discarded – undo
602 606
         ];
603 607
     }
604 608
 
609
+    /**
610
+     * @param string $name
611
+     */
605 612
     public static function parseRequestLat($name)
606 613
     {
607 614
         if (!isset($_REQUEST[$name . 'NS']) || !isset($_REQUEST[$name . 'Lat']) || !isset($_REQUEST[$name . 'LatMin'])) {
@@ -620,6 +627,9 @@  discard block
 block discarded – undo
620 627
         return $lat;
621 628
     }
622 629
 
630
+    /**
631
+     * @param string $name
632
+     */
623 633
     public static function parseRequestLon($name)
624 634
     {
625 635
         if (!isset($_REQUEST[$name . 'EW']) || !isset($_REQUEST[$name . 'Lon']) || !isset($_REQUEST[$name . 'LonMin'])) {
Please login to merge, or discard this patch.
htdocs/lib2/logic/sitemapxml.class.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -46,6 +46,11 @@  discard block
 block discarded – undo
46 46
     /* sChaneFreq = {always, hourly, daily, weekly, monthly, yearly, never}
47 47
      * nPriority  = {0.0 to 1.0}
48 48
      */
49
+
50
+    /**
51
+     * @param string $sFile
52
+     * @param integer $dLastMod
53
+     */
49 54
     public function write($sFile, $dLastMod, $sChangeFreq = false, $nPriority = 0.5)
50 55
     {
51 56
         if ($sChangeFreq == false) {
@@ -62,6 +67,9 @@  discard block
 block discarded – undo
62 67
         $this->writeInternal($sXML);
63 68
     }
64 69
 
70
+    /**
71
+     * @param string $str
72
+     */
65 73
     public function writeInternal($str)
66 74
     {
67 75
         global $opt;
Please login to merge, or discard this patch.
htdocs/lib2/Net/IDNA2.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2760,7 +2760,7 @@  discard block
 block discarded – undo
2760 2760
      *
2761 2761
      * @param int $d One digit to encode
2762 2762
      *
2763
-     * @return char  Encoded digit
2763
+     * @return string  Encoded digit
2764 2764
      * @access private
2765 2765
      */
2766 2766
     private function _encodeDigit($d)
@@ -2771,7 +2771,7 @@  discard block
 block discarded – undo
2771 2771
     /**
2772 2772
      * Decode a certain digit.
2773 2773
      *
2774
-     * @param char $cp One digit (character) to decode
2774
+     * @param string $cp One digit (character) to decode
2775 2775
      *
2776 2776
      * @return int     Decoded digit
2777 2777
      * @access private
@@ -2785,7 +2785,7 @@  discard block
 block discarded – undo
2785 2785
     /**
2786 2786
      * Do Nameprep according to RFC3491 and RFC3454.
2787 2787
      *
2788
-     * @param array $input Unicode Characters
2788
+     * @param string $input Unicode Characters
2789 2789
      *
2790 2790
      * @return string      Unicode Characters, Nameprep'd
2791 2791
      * @throws Exception
@@ -2885,7 +2885,7 @@  discard block
 block discarded – undo
2885 2885
      *
2886 2886
      * @param integer $char 32bit UCS4 code point
2887 2887
      *
2888
-     * @return array        Either Hangul Syllable decomposed or original 32bit
2888
+     * @return integer[]        Either Hangul Syllable decomposed or original 32bit
2889 2889
      *                      value as one value array
2890 2890
      * @access private
2891 2891
      */
Please login to merge, or discard this patch.
htdocs/util/notification/run_notify.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -197,6 +197,9 @@
 block discarded – undo
197 197
     return 0;
198 198
 }
199 199
 
200
+/**
201
+ * @param string $domain
202
+ */
200 203
 function is_existent_maildomain($domain)
201 204
 {
202 205
     $smtp_serverlist = [];
Please login to merge, or discard this patch.
htdocs/lib2/search/search.txt.inc.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -203,6 +203,9 @@
 block discarded – undo
203 203
     return $str;
204 204
 }
205 205
 
206
+/**
207
+ * @param string $str
208
+ */
206 209
 function lf2crlf($str)
207 210
 {
208 211
     return str_replace("\r\r\n", "\r\n", str_replace("\n", "\r\n", $str));
Please login to merge, or discard this patch.
htdocs/src/Oc/Libse/ChildWp/ControllerChildWp.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@  discard block
 block discarded – undo
35 35
         $this->init(0, 0);
36 36
     }
37 37
 
38
+    /**
39
+     * @param boolean $request
40
+     */
38 41
     private function initRequest($request)
39 42
     {
40 43
         if ($request) {
@@ -44,6 +47,9 @@  discard block
 block discarded – undo
44 47
         return new RequestHttp();
45 48
     }
46 49
 
50
+    /**
51
+     * @param boolean $translator
52
+     */
47 53
     private function initTranslator($translator)
48 54
     {
49 55
         if ($translator) {
Please login to merge, or discard this patch.
local/devel/find_bad_encodings.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@
 block discarded – undo
39 39
 }
40 40
 
41 41
 
42
+/**
43
+ * @param string $path
44
+ */
42 45
 function testforbom($path)
43 46
 {
44 47
     $filestart = file_get_contents($path, false, null, 0, 2);
Please login to merge, or discard this patch.
htdocs/lib/sqldebugger.inc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
 }
149 149
 
150 150
 /**
151
- * @param $sql
151
+ * @param string $sql
152 152
  * @param $bSlave
153 153
  *
154 154
  * @return resource
Please login to merge, or discard this patch.