Passed
Push — development ( 98bd13...20f4ba )
by Thomas
02:09
created
htdocs/lib2/util.inc.php 2 patches
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  */
10 10
 function is_valid_email_address($eMail)
11 11
 {
12
-    return (int) ($eMail === filter_var($eMail, FILTER_VALIDATE_EMAIL));
12
+    return (int)($eMail === filter_var($eMail, FILTER_VALIDATE_EMAIL));
13 13
 }
14 14
 
15 15
 /**
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
 function escape_javascript($text)
206 206
 {
207 207
     return str_replace(
208
-        ['\'', '"',],
208
+        ['\'', '"', ],
209 209
         ['\\\'', '"'],
210 210
         $text
211 211
     );
Please login to merge, or discard this patch.