Passed
Pull Request — development (#682)
by Thomas
06:58
created
htdocs/util2/cron/modules/geokrety.class.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
 
293 293
     /**
294 294
      * @param integer $id
295
-     * @param $name
295
+     * @param string $name
296 296
      */
297 297
     public function checkGeoKretType($id, $name)
298 298
     {
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
 
307 307
     /**
308 308
      * @param integer $id
309
-     * @param $name
309
+     * @param string $name
310 310
      */
311 311
     public function checkUser($id, $name)
312 312
     {
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
 
321 321
     /**
322 322
      * @param integer $id
323
-     * @param $name
323
+     * @param string $name
324 324
      */
325 325
     public function checkMoveType($id, $name)
326 326
     {
Please login to merge, or discard this patch.
htdocs/lib/login.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
     }
163 163
 
164 164
     /**
165
-     * @param int|bool $privilege
165
+     * @param integer $privilege
166 166
      * @return bool
167 167
      */
168 168
     public function hasAdminPriv($privilege = false)
Please login to merge, or discard this patch.
htdocs/lib2/login.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
     }
163 163
 
164 164
     /**
165
-     * @param int|bool $privilege
165
+     * @param integer $privilege
166 166
      * @return bool
167 167
      */
168 168
     public function hasAdminPriv($privilege = false)
Please login to merge, or discard this patch.
htdocs/lib2/util.inc.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 /**
100 100
  * @param $filename
101 101
  * @param $maxLength
102
- * @return bool|string
102
+ * @return false|string
103 103
  */
104 104
 function read_file($filename, $maxLength = 4096)
105 105
 {
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
  * format number with 1000s dots
266 266
  *
267 267
  * @param $n
268
- * @return mixed|string
268
+ * @return string
269 269
  */
270 270
 function number1000($n)
271 271
 {
Please login to merge, or discard this patch.
htdocs/util/watchlist/runwatch.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -27,6 +27,10 @@  discard block
 block discarded – undo
27 27
 }
28 28
 
29 29
 if (!function_exists('get_logtype_name')) {
30
+
31
+    /**
32
+     * @return string
33
+     */
30 34
     function get_logtype_name($logtype, $language)
31 35
     {
32 36
         return sqlValue(
@@ -504,6 +508,9 @@  discard block
 block discarded – undo
504 508
     );
505 509
 }
506 510
 
511
+/**
512
+ * @param string $watchtext
513
+ */
507 514
 function insert_recommendation($rLog, $language, $watchtext)
508 515
 {
509 516
     global $translate;
Please login to merge, or discard this patch.
htdocs/src/Oc/Translation/CrowdinImport.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     }
42 42
 
43 43
     /**
44
-     * @param $path
44
+     * @param string $path
45 45
      * @return TranslationStruct[]
46 46
      */
47 47
     private function readCrowdinCsv($path)
Please login to merge, or discard this patch.
htdocs/lib2/search/ftsearch.inc.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -68,9 +68,9 @@  discard block
 block discarded – undo
68 68
 /**
69 69
  * str = single word
70 70
  * @param $str
71
- * @param $simple
71
+ * @param boolean $simple
72 72
  *
73
- * @return array
73
+ * @return string
74 74
  */
75 75
 function ftsearch_split(&$str, $simple)
76 76
 {
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
  * str = single word
142 142
  * @param $str
143 143
  *
144
- * @return mixed|string
144
+ * @return string
145 145
  */
146 146
 function ftsearch_text2simple($str)
147 147
 {
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
  * str = single word
172 172
  * @param $str
173 173
  *
174
- * @return mixed|string
174
+ * @return string
175 175
  */
176 176
 function ftsearch_text2sort($str)
177 177
 {
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
 /**
315 315
  * @param $text
316 316
  *
317
- * @return mixed|string
317
+ * @return string
318 318
  */
319 319
 function ftsearch_strip_html($text)
320 320
 {
Please login to merge, or discard this patch.
htdocs/lib/clicompatbase.inc.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
 /**
423 423
  * @deprecated use DBAL Conenction instead. See adminreports.php for an example implementation
424 424
  * @param $value
425
- * @return false|string
425
+ * @return string
426 426
  */
427 427
 function sql_escape($value)
428 428
 {
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
 /**
437 437
  * @deprecated use DBAL Conenction instead. See adminreports.php for an example implementation
438 438
  * @param $value
439
- * @return false|mixed|string
439
+ * @return string
440 440
  */
441 441
 function sql_escape_backtick($value)
442 442
 {
@@ -547,7 +547,7 @@  discard block
 block discarded – undo
547 547
 
548 548
 /**
549 549
  * @deprecated use DBAL Conenction instead. See adminreports.php for an example implementation
550
- * @param $rs
550
+ * @param resource $rs
551 551
  * @return array
552 552
  */
553 553
 function sql_fetch_row($rs)
Please login to merge, or discard this patch.
htdocs/lib2/db.inc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1279,7 +1279,7 @@
 block discarded – undo
1279 1279
 
1280 1280
 /**
1281 1281
  * @deprecated use DBAL Conenction instead. See adminreports.php for an example implementation
1282
- * @param $f
1282
+ * @param resource $f
1283 1283
  * @param resource $rs
1284 1284
  * @param $table
1285 1285
  * @param bool $truncate
Please login to merge, or discard this patch.