Completed
Push — master ( c2d7ad...3f78da )
by Thomas
07:29
created
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/util/watchlist/runwatch.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -484,6 +484,9 @@  discard block
 block discarded – undo
484 484
     );
485 485
 }
486 486
 
487
+/**
488
+ * @param string $watchtext
489
+ */
487 490
 function insert_maintenance_flags($rLog, $language, $watchtext)
488 491
 {
489 492
     global $translate;
@@ -510,6 +513,9 @@  discard block
 block discarded – undo
510 513
     return mb_ereg_replace('{maintenance_flags}', $flagtext, $watchtext);
511 514
 }
512 515
 
516
+/**
517
+ * @param string $domain
518
+ */
513 519
 function is_existent_maildomain($domain)
514 520
 {
515 521
     $smtp_serverlist = [];
Please login to merge, or discard this patch.
htdocs/util2/cron/modules/geokrety.class.php 1 patch
Doc Comments   +32 added lines patch added patch discarded remove patch
@@ -61,6 +61,10 @@  discard block
 block discarded – undo
61 61
 
62 62
     /* remove given file
63 63
      */
64
+
65
+    /**
66
+     * @param string $file
67
+     */
64 68
     public function removeXML($file)
65 69
     {
66 70
         @unlink($file);
@@ -68,6 +72,10 @@  discard block
 block discarded – undo
68 72
 
69 73
     /* import the given XML file
70 74
      */
75
+
76
+    /**
77
+     * @param string $file
78
+     */
71 79
     public function importXML($file)
72 80
     {
73 81
         global $opt;
@@ -124,6 +132,9 @@  discard block
 block discarded – undo
124 132
         setSysConfig('geokrety_lastupdate', date($opt['db']['dateformat'], strtotime($startupdate)));
125 133
     }
126 134
 
135
+    /**
136
+     * @param DOMNode $element
137
+     */
127 138
     public function importGeoKret($element)
128 139
     {
129 140
         global $opt;
@@ -204,6 +215,9 @@  discard block
 block discarded – undo
204 215
     }
205 216
 
206 217
 
218
+    /**
219
+     * @param DOMNode $element
220
+     */
207 221
     public function importMove($element)
208 222
     {
209 223
         global $opt;
@@ -292,6 +306,9 @@  discard block
 block discarded – undo
292 306
     }
293 307
 
294 308
 
309
+    /**
310
+     * @param integer $id
311
+     */
295 312
     public function checkGeoKretType($id, $name)
296 313
     {
297 314
         sql(
@@ -302,6 +319,9 @@  discard block
 block discarded – undo
302 319
     }
303 320
 
304 321
 
322
+    /**
323
+     * @param integer $id
324
+     */
305 325
     public function checkUser($id, $name)
306 326
     {
307 327
         if ($id == 0) {
@@ -312,6 +332,9 @@  discard block
 block discarded – undo
312 332
     }
313 333
 
314 334
 
335
+    /**
336
+     * @param integer $id
337
+     */
315 338
     public function checkMoveType($id, $name)
316 339
     {
317 340
         sql(
@@ -322,6 +345,9 @@  discard block
 block discarded – undo
322 345
     }
323 346
 
324 347
 
348
+    /**
349
+     * @param string $element
350
+     */
325 351
     public function GetNodeValue(&$domnode, $element)
326 352
     {
327 353
         $subnode = $domnode->getElementsByTagName($element);
@@ -333,6 +359,12 @@  discard block
 block discarded – undo
333 359
     }
334 360
 
335 361
 
362
+    /**
363
+     * @param string $element
364
+     * @param string $attr
365
+     *
366
+     * @return string
367
+     */
336 368
     public function GetNodeAttribute(&$domnode, $element, $attr)
337 369
     {
338 370
         $subnode = $domnode->getElementsByTagName($element);
Please login to merge, or discard this patch.
htdocs/util2/cron/modules/sitemaps.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -61,6 +61,9 @@
 block discarded – undo
61 61
         $this->ping_searchengine('http://www.bing.com/webmaster/ping.aspx?siteMap=' . $url);
62 62
     }
63 63
 
64
+    /**
65
+     * @param string $url
66
+     */
64 67
     public function ping_searchengine($url)
65 68
     {
66 69
         $curl = curl_init($url);
Please login to merge, or discard this patch.
htdocs/xml/ocxml11.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -368,6 +368,9 @@
 block discarded – undo
368 368
 /* end parameter reading */
369 369
 
370 370
 
371
+/**
372
+ * @param integer $sessionid
373
+ */
371 374
 function outputXmlFile($sessionid, $filenr, $bXmlDecl, $bOcXmlTag, $bDocType, $ziptype)
372 375
 {
373 376
     global $zip_basedir, $zip_wwwdir, $sDateformat, $sDateshort, $t1, $t2, $t3, $safemode_zip, $safemode_zip, $sCharset, $bAttrlist;
Please login to merge, or discard this patch.
local/devel/find_unicode_boms.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.
local/ocxml11client/index.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -1281,11 +1281,19 @@
 block discarded – undo
1281 1281
     }
1282 1282
 }
1283 1283
 
1284
+/**
1285
+ * @param string $recordtype
1286
+ * @param string $info
1287
+ */
1284 1288
 function importError($recordtype, $uuid, $r, $info)
1285 1289
 {
1286 1290
     echo 'error: ' . $recordtype . ' (' . $uuid . '): ' . $info . "\n";
1287 1291
 }
1288 1292
 
1293
+/**
1294
+ * @param string $recordtype
1295
+ * @param string $info
1296
+ */
1289 1297
 function importWarn($recordtype, $uuid, $r, $info)
1290 1298
 {
1291 1299
     echo 'warn: ' . $recordtype . ' (' . $uuid . '): ' . $info . "\n";
Please login to merge, or discard this patch.
local/ocxml11client/xml2array.inc.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@
 block discarded – undo
26 26
         $this->stack_ref =& $this->stack[count($this->stack) - 1];
27 27
     }
28 28
 
29
+    /**
30
+     * @param false|string $strInputXML
31
+     */
29 32
     public function parse($strInputXML)
30 33
     {
31 34
 
Please login to merge, or discard this patch.
htdocs/lib2/logic/getNew.class.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@  discard block
 block discarded – undo
19 19
         return $this->userCountry;
20 20
     }
21 21
 
22
+    /**
23
+     * @param string $userCountry
24
+     */
22 25
     public function set_userCountry($userCountry)
23 26
     {
24 27
         $this->userCountry = $userCountry;
@@ -98,7 +101,7 @@  discard block
 block discarded – undo
98 101
      *
99 102
      * @param array $args numeric array containing the parameter for "sql_slave"
100 103
      *
101
-     * @return object mysql result used by smarty assign_rs
104
+     * @return resource mysql result used by smarty assign_rs
102 105
      */
103 106
     private function cacheRs($args = null)
104 107
     {
@@ -150,7 +153,7 @@  discard block
 block discarded – undo
150 153
      *
151 154
      * @param array $args numeric array containing the parameter for "sql_slave"
152 155
      *
153
-     * @return object mysql result used by smarty assign_rs
156
+     * @return resource mysql result used by smarty assign_rs
154 157
      */
155 158
     private function eventRs($args = null)
156 159
     {
@@ -221,7 +224,7 @@  discard block
 block discarded – undo
221 224
      *
222 225
      * @param array $args numeric array containing the parameter for "sql_slave"
223 226
      *
224
-     * @return object mysql result used by smarty assign_rs
227
+     * @return resource mysql result used by smarty assign_rs
225 228
      */
226 229
     private function ratingRs($args = null)
227 230
     {
Please login to merge, or discard this patch.