Completed
Push — development ( 13a157...98ea90 )
by Thomas
24s
created
htdocs/lib2/search/search.txt.inc.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -228,6 +228,9 @@
 block discarded – undo
228 228
     return $str;
229 229
 }
230 230
 
231
+/**
232
+ * @param string $str
233
+ */
231 234
 function lf2crlf($str)
232 235
 {
233 236
     return mb_ereg_replace("\r\r\n", "\r\n", mb_ereg_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
@@ -28,6 +28,9 @@  discard block
 block discarded – undo
28 28
         $this->translator = $this->initTranslator($translator);
29 29
     }
30 30
 
31
+    /**
32
+     * @param boolean $request
33
+     */
31 34
     private function initRequest($request)
32 35
     {
33 36
         if ($request) {
@@ -37,6 +40,9 @@  discard block
 block discarded – undo
37 40
         return new RequestHttp();
38 41
     }
39 42
 
43
+    /**
44
+     * @param boolean $translator
45
+     */
40 46
     private function initTranslator($translator)
41 47
     {
42 48
         if ($translator) {
Please login to merge, or discard this patch.
htdocs/lib2/logic/useroptions.class.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -113,6 +113,11 @@  discard block
 block discarded – undo
113 113
         return $this->nOptions[$pId]['internal_use'];
114 114
     }
115 115
 
116
+    /**
117
+     * @param integer $pId
118
+     *
119
+     * @return string
120
+     */
116 121
     public function getOptValue($pId)
117 122
     {
118 123
         if ($pId == USR_OPT_SHOWSTATS &&
@@ -129,6 +134,9 @@  discard block
 block discarded – undo
129 134
         return false;
130 135
     }
131 136
 
137
+    /**
138
+     * @param integer $pValue
139
+     */
132 140
     public function setOptVisible($pId, $pValue)
133 141
     {
134 142
         $pId += 0;
Please login to merge, or discard this patch.
htdocs/lib2/logic/picture.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -692,7 +692,7 @@  discard block
 block discarded – undo
692 692
     }
693 693
 
694 694
     /**
695
-     * @return bool|string
695
+     * @return string|false
696 696
      */
697 697
     public function getPageLink()
698 698
     {
@@ -724,7 +724,7 @@  discard block
 block discarded – undo
724 724
     /**
725 725
      * @param $tmpFile
726 726
      * @param $longSideSize
727
-     * @return bool
727
+     * @return null|boolean
728 728
      */
729 729
     public function rotate_and_shrink($tmpFile, $longSideSize)
730 730
     {
Please login to merge, or discard this patch.
htdocs/lib2/search/search.xml.inc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
 
206 206
 /**
207 207
  * @param string $str
208
- * @return mixed
208
+ * @return string
209 209
  */
210 210
 function lf2crlf($str)
211 211
 {
Please login to merge, or discard this patch.
htdocs/lib2/imagebmp.inc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -577,7 +577,7 @@
 block discarded – undo
577 577
 }
578 578
 
579 579
 /**
580
- * @param $d
580
+ * @param integer $d
581 581
  * @param integer $n
582 582
  *
583 583
  * @return string
Please login to merge, or discard this patch.
htdocs/lib/common.inc.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -802,6 +802,9 @@
 block discarded – undo
802 802
     return '';
803 803
 }
804 804
 
805
+/**
806
+ * @return string
807
+ */
805 808
 function get_logtype_name($logtype, $language)
806 809
 {
807 810
     return sqlValue(
Please login to merge, or discard this patch.
htdocs/lib2/common.inc.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -31,6 +31,11 @@  discard block
 block discarded – undo
31 31
 }
32 32
 
33 33
 if (!function_exists('bindtextdomain')) {
34
+
35
+    /**
36
+     * @param string $domain
37
+     * @param string $directory
38
+     */
34 39
     function bindtextdomain($domain, $directory)
35 40
     {
36 41
         // dummy function for travis
@@ -38,6 +43,10 @@  discard block
 block discarded – undo
38 43
 }
39 44
 
40 45
 if (!function_exists('textdomain')) {
46
+
47
+    /**
48
+     * @param string $domain
49
+     */
41 50
     function textdomain($domain)
42 51
     {
43 52
         // dummy function for travis
@@ -45,6 +54,10 @@  discard block
 block discarded – undo
45 54
 }
46 55
 
47 56
 if (!function_exists('gettext')) {
57
+
58
+    /**
59
+     * @param string $message
60
+     */
48 61
     function gettext($message)
49 62
     {
50 63
         // dummy function for travis
Please login to merge, or discard this patch.
htdocs/lib2/logic/getNew.class.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     }
18 18
 
19 19
     /**
20
-     * @param $userCountry
20
+     * @param string $userCountry
21 21
      */
22 22
     public function set_userCountry($userCountry)
23 23
     {
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      *
42 42
      * @param string $type type of the "new"-information, i.e. cache, event, rating, etc
43 43
      * @param array $args numeric array containing the parameter for "sql_slave"
44
-     * @return object mysql result used by smarty assign_rs
44
+     * @return resource|null mysql result used by smarty assign_rs
45 45
      */
46 46
     public function rsForSmarty($type, $args = null)
47 47
     {
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      * cacheRs executes the database statements for type "cache"
90 90
      *
91 91
      * @param array $args numeric array containing the parameter for "sql_slave"
92
-     * @return object mysql result used by smarty assign_rs
92
+     * @return resource mysql result used by smarty assign_rs
93 93
      */
94 94
     private function cacheRs($args = null)
95 95
     {
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      * eventRs executes the database statements for type "event"
144 144
      *
145 145
      * @param array $args numeric array containing the parameter for "sql_slave"
146
-     * @return object mysql result used by smarty assign_rs
146
+     * @return resource mysql result used by smarty assign_rs
147 147
      */
148 148
     private function eventRs($args = null)
149 149
     {
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
      * ratingRs executes the database statements for type "rating"
216 216
      *
217 217
      * @param array $args numeric array containing the parameter for "sql_slave"
218
-     * @return object mysql result used by smarty assign_rs
218
+     * @return resource mysql result used by smarty assign_rs
219 219
      */
220 220
     private function ratingRs($args = null)
221 221
     {
Please login to merge, or discard this patch.