Completed
Push — master ( 55a138...ee7aee )
by Michael
05:41
created
class/ExtcalPersistableObjectHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -536,7 +536,7 @@
 block discarded – undo
536 536
 
537 537
     /**
538 538
      * @param        $objects
539
-     * @param array  $externalKeys
539
+     * @param string[]  $externalKeys
540 540
      * @param string $format
541 541
      *
542 542
      * @return array
Please login to merge, or discard this patch.
include/constantes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
 define('_EXTCAL_NAV_NEW_EVENT', 'new-event');
108 108
 
109 109
 define('_EXTCAL_NAV_LIST',
110
-       _EXTCAL_NAV_CALMONTH . "\n" . _EXTCAL_NAV_CALWEEK . "\n" . _EXTCAL_NAV_YEAR . "\n" . _EXTCAL_NAV_MONTH . "\n" . _EXTCAL_NAV_WEEK . "\n" . _EXTCAL_NAV_DAY . "\n" . _EXTCAL_NAV_AGENDA_WEEK . "\n" . _EXTCAL_NAV_AGENDA_DAY . "\n" . _EXTCAL_NAV_SEARCH . "\n" . _EXTCAL_NAV_NEW_EVENT);
110
+        _EXTCAL_NAV_CALMONTH . "\n" . _EXTCAL_NAV_CALWEEK . "\n" . _EXTCAL_NAV_YEAR . "\n" . _EXTCAL_NAV_MONTH . "\n" . _EXTCAL_NAV_WEEK . "\n" . _EXTCAL_NAV_DAY . "\n" . _EXTCAL_NAV_AGENDA_WEEK . "\n" . _EXTCAL_NAV_AGENDA_DAY . "\n" . _EXTCAL_NAV_SEARCH . "\n" . _EXTCAL_NAV_NEW_EVENT);
111 111
 
112 112
 define('_EXTCAL_PREFIX_VIEW', 'view_');
113 113
 define('_EXTCAL_SUFFIX_VIEW', '.php');
Please login to merge, or discard this patch.
blocks/minical.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -455,11 +455,11 @@
 block discarded – undo
455 455
  * @param array      $event
456 456
  * @param array      $eventsArray
457 457
  * @param Extcal\Time       $timeHandler
458
- * @param            $startMonth
459
- * @param            $endMonth
458
+ * @param            integer $startMonth
459
+ * @param            integer $endMonth
460 460
  * @param            $cats
461 461
  *
462
- * @return bool
462
+ * @return false|null
463 463
  */
464 464
 function bExtcalMinicalAddEventToArray($event, &$eventsArray, $timeHandler, $startMonth, $endMonth, $cats)
465 465
 {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
     // Flag current day
167 167
     $selectedDays = [
168 168
         new Calendar_Day(date('Y', xoops_getUserTimestamp(time(), $timeHandler->_getUserTimeZone($GLOBALS['xoopsUser']))), date('n', xoops_getUserTimestamp(time(), $timeHandler->_getUserTimeZone($GLOBALS['xoopsUser']))),
169
-                         date('j', xoops_getUserTimestamp(time(), $timeHandler->_getUserTimeZone($GLOBALS['xoopsUser'])))),
169
+                            date('j', xoops_getUserTimestamp(time(), $timeHandler->_getUserTimeZone($GLOBALS['xoopsUser'])))),
170 170
     ];
171 171
 
172 172
     // Build calendar object
Please login to merge, or discard this patch.
class/EventHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -889,7 +889,7 @@
 block discarded – undo
889 889
 
890 890
     /**
891 891
      * @param $criteria
892
-     * @param $cats
892
+     * @param integer $cats
893 893
      */
894 894
     public function addCatSelectCriteria(&$criteria, $cats = null)
895 895
     {
Please login to merge, or discard this patch.
class/Form/FormFileCheckBox.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
 class FormFileCheckBox extends \XoopsFormCheckBox
25 25
 {
26 26
     /**
27
-     * @param      $caption
28
-     * @param      $name
27
+     * @param      string $caption
28
+     * @param      string $name
29 29
      * @param null $value
30 30
      *
31 31
      */
Please login to merge, or discard this patch.
include/functions0.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -149,11 +149,11 @@
 block discarded – undo
149 149
         $cat_color = $catList->getVar('cat_color');
150 150
         $checked   = in_array($cat_id, $cat) ? 'checked' : '';
151 151
         $cat       = ''
152
-                     . "<div style='float:left; margin-left:5px;'>"
153
-                     . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>"
154
-                     . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>"
155
-                     . " {$name}"
156
-                     . '</div>';
152
+                        . "<div style='float:left; margin-left:5px;'>"
153
+                        . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>"
154
+                        . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>"
155
+                        . " {$name}"
156
+                        . '</div>';
157 157
 
158 158
         $t[] = $cat;
159 159
     }
Please login to merge, or discard this patch.
class/Utility.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -151,11 +151,11 @@
 block discarded – undo
151 151
             $cat_color = $catList->getVar('cat_color');
152 152
             $checked   = in_array($cat_id, $cat) ? 'checked' : '';
153 153
             $cat       = ''
154
-                         . "<div style='float:left; margin-left:5px;'>"
155
-                         . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>"
156
-                         . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>"
157
-                         . " {$name}"
158
-                         . '</div>';
154
+                            . "<div style='float:left; margin-left:5px;'>"
155
+                            . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>"
156
+                            . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>"
157
+                            . " {$name}"
158
+                            . '</div>';
159 159
 
160 160
             $t[] = $cat;
161 161
         }
Please login to merge, or discard this patch.