Completed
Push — development ( 3bb8d6...0b070d )
by Mirco
02:03
created
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.