Passed
Branch development (08947d)
by Thomas
08:58
created
htdocs/lib2/OcSmarty.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
     public $compile_id = null;
24 24
 
25
-    public $cache_id = null;    // This is a smarty caching ID, not a caches.cache_id.
25
+    public $cache_id = null; // This is a smarty caching ID, not a caches.cache_id.
26 26
 
27 27
     public $title = '';
28 28
 
Please login to merge, or discard this patch.
htdocs/lang/de/ocstyle/main.tpl.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 <?php
155 155
 foreach ($opt['template']['locales'] AS $k => $lang) {
156 156
     if ($lang['status'] == OC_LOCALE_ACTIVE) {
157
-        echo '<a style="text-decoration: none;" href="'.$langUrl . $k . '"><img src="' . $lang['flag'] .
157
+        echo '<a style="text-decoration: none;" href="' . $langUrl . $k . '"><img src="' . $lang['flag'] .
158 158
             '" alt="' . $lang['name'] . '" title="' . $lang['name'] . '" width="24px" height="18px" /></a> ';
159 159
     }
160 160
 }
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
                                         }
186 186
                                         $nLastGroup = $tpl_usercountries[$i]['group'];
187 187
 
188
-                                        echo '<option value="' . htmlspecialchars($tpl_usercountries[$i]['country'], ENT_COMPAT, 'UTF-8') . '"' . (($sUserCountry==$tpl_usercountries[$i]['country']) ? ' selected="selected"' : '') . '>' . htmlspecialchars($tpl_usercountries[$i]['name'], ENT_COMPAT, 'UTF-8') . '</option>';
188
+                                        echo '<option value="' . htmlspecialchars($tpl_usercountries[$i]['country'], ENT_COMPAT, 'UTF-8') . '"' . (($sUserCountry == $tpl_usercountries[$i]['country']) ? ' selected="selected"' : '') . '>' . htmlspecialchars($tpl_usercountries[$i]['name'], ENT_COMPAT, 'UTF-8') . '</option>';
189 189
                                     }
190 190
 ?>
191 191
                                 </select>&nbsp;
Please login to merge, or discard this patch.
htdocs/lib/clicompatbase.inc.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -506,6 +506,9 @@
 block discarded – undo
506 506
     return mysql_fetch_assoc($rs);
507 507
 }
508 508
 
509
+/**
510
+ * @param resource $rs
511
+ */
509 512
 function sql_fetch_row($rs)
510 513
 {
511 514
     return mysql_fetch_row($rs);
Please login to merge, or discard this patch.
htdocs/lib2/imagebmp.inc.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -493,7 +493,7 @@  discard block
 block discarded – undo
493 493
 /**
494 494
  * @param integer $byte
495 495
  * @param $start
496
- * @param $len
496
+ * @param integer $len
497 497
  *
498 498
  * @return number
499 499
  */
@@ -574,7 +574,7 @@  discard block
 block discarded – undo
574 574
 }
575 575
 
576 576
 /**
577
- * @param $d
577
+ * @param integer $d
578 578
  *
579 579
  * @return string
580 580
  */
Please login to merge, or discard this patch.
htdocs/lib2/translate.class.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,9 +40,9 @@
 block discarded – undo
40 40
      * translate the given string
41 41
      *
42 42
      * @param $message
43
-     * @param $style
44
-     * @param $resource_name
45
-     * @param $line
43
+     * @param string $style
44
+     * @param string $resource_name
45
+     * @param string $line
46 46
      * @param string $plural
47 47
      * @param int $count
48 48
      * @param null $lang
Please login to merge, or discard this patch.
htdocs/src/Oc/SmartyPlugins/prefilter.t.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -298,7 +298,7 @@
 block discarded – undo
298 298
  * @param $message
299 299
  * @param $attrs
300 300
  * @param $smarty
301
- * @param $line
301
+ * @param integer $line
302 302
  *
303 303
  * @return string
304 304
  */
Please login to merge, or discard this patch.