Passed
Push — development ( 4cb381...e8a506 )
by Mirco
52:18 queued 07:14
created
htdocs/lib2/RSSParser.class.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -13,6 +13,7 @@
 block discarded – undo
13 13
      *
14 14
      * @param int    $items number of feeditems to parse from feed
15 15
      * @param string $url   url of the feed to parse
16
+     * @param boolean $includetext
16 17
      *
17 18
      * @return string $item feeditems as HTML-string
18 19
      */
Please login to merge, or discard this patch.
htdocs/lib2/search/ftsearch.inc.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -159,6 +159,9 @@  discard block
 block discarded – undo
159 159
 }
160 160
 
161 161
 // str = long text
162
+/**
163
+ * @param boolean $simple
164
+ */
162 165
 function ftsearch_split(&$str, $simple)
163 166
 {
164 167
     global $ftsearch_ignores;
@@ -488,6 +491,9 @@  discard block
 block discarded – undo
488 491
     sql("DELETE FROM `search_index_times` WHERE `object_type`='&1' AND `object_id`='&2'", $object_type, $object_id);
489 492
 }
490 493
 
494
+/**
495
+ * @param integer $object_type
496
+ */
491 497
 function ftsearch_set_entries($object_type, $object_id, $cache_id, &$text, $last_modified)
492 498
 {
493 499
     ftsearch_delete_entries($object_type, $object_id, $cache_id);
Please login to merge, or discard this patch.
htdocs/lib2/search/search.gpx.inc.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -569,6 +569,9 @@
 block discarded – undo
569 569
     return $str;
570 570
 }
571 571
 
572
+/**
573
+ * @return string
574
+ */
572 575
 function changePlaceholder($str, $inverse = false)
573 576
 {
574 577
     static $translate = array(
Please login to merge, or discard this patch.
htdocs/lib2/search/search.html.inc.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -202,6 +202,10 @@
 block discarded – undo
202 202
 }
203 203
 
204 204
 
205
+/**
206
+ * @param string $interval
207
+ * @param string $dateTimeEnd
208
+ */
205 209
 function dateDiff($interval, $dateTimeBegin, $dateTimeEnd)
206 210
 {
207 211
     //Parse about any English textual datetime
Please login to merge, or discard this patch.
htdocs/lib2/search/search.xml.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/lib2/sqldebugger.class.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -107,6 +107,9 @@  discard block
 block discarded – undo
107 107
         return $rsResult;
108 108
     }
109 109
 
110
+    /**
111
+     * @param string $sql
112
+     */
110 113
     public function strip_temptable($sql)
111 114
     {
112 115
         $start = stripos($sql, 'SELECT ');
@@ -118,6 +121,9 @@  discard block
 block discarded – undo
118 121
         return substr($sql, $start);
119 122
     }
120 123
 
124
+    /**
125
+     * @param string $sql
126
+     */
121 127
     public function strip_from($sql)
122 128
     {
123 129
         $start = stripos($sql, 'FROM ');
@@ -129,6 +135,9 @@  discard block
 block discarded – undo
129 135
         return 'SELECT * ' . substr($sql, $start);
130 136
     }
131 137
 
138
+    /**
139
+     * @param string $sql
140
+     */
132 141
     public function insert_nocache($sql)
133 142
     {
134 143
         if (strtoupper(substr($sql, 0, 7)) == 'SELECT ') {
Please login to merge, or discard this patch.
htdocs/lib2/ss_zip.class.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
     /** Removes entry from the archive.
284 284
      * please be very carefull with this function, there is no undo after you save the archive
285 285
      *
286
-     * @return bool true on success or false on failure
286
+     * @return boolean|null true on success or false on failure
287 287
      *
288 288
      * @param int $idx
289 289
      */
@@ -334,6 +334,10 @@  discard block
 block discarded – undo
334 334
         return $idx >= 0 and $idx < $this->cnt;
335 335
     }
336 336
 
337
+    /**
338
+     * @param string $name
339
+     * @param string $data
340
+     */
337 341
     public function _write($name, $data)
338 342
     {
339 343
         $fp = fopen($name, "w");
Please login to merge, or discard this patch.
htdocs/lib2/translate.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -84,6 +84,9 @@
 block discarded – undo
84 84
         return $text;
85 85
     }
86 86
 
87
+    /**
88
+     * @return string
89
+     */
87 90
     public function v($message)
88 91
     {
89 92
         if ($message) {
Please login to merge, or discard this patch.
htdocs/lib2/translate_filescan.class.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -76,6 +76,10 @@  discard block
 block discarded – undo
76 76
         }
77 77
     }
78 78
 
79
+    /**
80
+     * @param string $sCode
81
+     * @param integer $nStartSearch
82
+     */
79 83
     public function findEndOfPHPString($sCode, $nStartSearch)
80 84
     {
81 85
         $nEnd = 0;
@@ -116,6 +120,10 @@  discard block
 block discarded – undo
116 120
     }
117 121
 
118 122
     // TODO: performance ... scan once at __construct and store line positions
123
+
124
+    /**
125
+     * @param integer $nPos
126
+     */
119 127
     public function findLineOfPos($nPos)
120 128
     {
121 129
         $nLine = 1;
Please login to merge, or discard this patch.