Completed
Push — master ( 5f5d60...a9decc )
by Michael
03:36
created
class/pcltar.lib.php 1 patch
Doc Comments   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1190,7 +1190,7 @@  discard block
 block discarded – undo
1190 1190
     /**
1191 1191
      * @param        $p_tarname
1192 1192
      * @param        $p_list
1193
-     * @param        $p_mode
1193
+     * @param        string $p_mode
1194 1194
      * @param string $p_add_dir
1195 1195
      * @param string $p_remove_dir
1196 1196
      *
@@ -1290,10 +1290,10 @@  discard block
 block discarded – undo
1290 1290
     /**
1291 1291
      * @param $p_tarname
1292 1292
      * @param $p_list
1293
-     * @param $p_mode
1293
+     * @param string $p_mode
1294 1294
      * @param $p_list_detail
1295
-     * @param $p_add_dir
1296
-     * @param $p_remove_dir
1295
+     * @param string $p_add_dir
1296
+     * @param string $p_remove_dir
1297 1297
      *
1298 1298
      * @return int
1299 1299
      */
@@ -2092,10 +2092,10 @@  discard block
 block discarded – undo
2092 2092
      * @param $p_tarname
2093 2093
      * @param $p_file_list
2094 2094
      * @param $p_list_detail
2095
-     * @param $p_mode
2096
-     * @param $p_path
2095
+     * @param string $p_mode
2096
+     * @param string $p_path
2097 2097
      * @param $p_tar_mode
2098
-     * @param $p_remove_path
2098
+     * @param string $p_remove_path
2099 2099
      *
2100 2100
      * @return int
2101 2101
      */
@@ -2648,8 +2648,8 @@  discard block
 block discarded – undo
2648 2648
      * @param $p_tarname
2649 2649
      * @param $p_index_string
2650 2650
      * @param $p_list_detail
2651
-     * @param $p_path
2652
-     * @param $p_remove_path
2651
+     * @param string $p_path
2652
+     * @param string $p_remove_path
2653 2653
      * @param $p_tar_mode
2654 2654
      *
2655 2655
      * @return int
@@ -3219,7 +3219,7 @@  discard block
 block discarded – undo
3219 3219
      * @param $p_tarname
3220 3220
      * @param $p_file_list
3221 3221
      * @param $p_list_detail
3222
-     * @param $p_tar_mode
3222
+     * @param string $p_tar_mode
3223 3223
      *
3224 3224
      * @return int
3225 3225
      */
@@ -3513,9 +3513,9 @@  discard block
 block discarded – undo
3513 3513
      * @param $p_tarname
3514 3514
      * @param $p_file_list
3515 3515
      * @param $p_list_detail
3516
-     * @param $p_tar_mode
3517
-     * @param $p_add_dir
3518
-     * @param $p_remove_dir
3516
+     * @param string $p_tar_mode
3517
+     * @param string $p_add_dir
3518
+     * @param string $p_remove_dir
3519 3519
      *
3520 3520
      * @return int
3521 3521
      */
@@ -3922,7 +3922,7 @@  discard block
 block discarded – undo
3922 3922
     // Return Values :
3923 3923
     // --------------------------------------------------------------------------------
3924 3924
     /**
3925
-     * @param $v_binary_data
3925
+     * @param string $v_binary_data
3926 3926
      * @param $v_header
3927 3927
      *
3928 3928
      * @return int
Please login to merge, or discard this patch.
class/pear/Calendar/docs/examples/11.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     public $entry;
20 20
 
21 21
     /**
22
-     * @param $calendar
22
+     * @param Calendar_Day $calendar
23 23
      */
24 24
     public function __construct($calendar)
25 25
     {
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     }
36 36
 
37 37
     /**
38
-     * @return mixed
38
+     * @return boolean
39 39
      */
40 40
     public function getEntry()
41 41
     {
Please login to merge, or discard this patch.
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.
class/pear/Calendar/Decorator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     /**
137 137
      * Returns the date as an associative array (helper method).
138 138
      *
139
-     * @param mixed $stamp timestamp (leave empty for current timestamp)
139
+     * @param integer $stamp timestamp (leave empty for current timestamp)
140 140
      *
141 141
      * @return array
142 142
      */
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
      *
243 243
      * @param array $sDates array containing Calendar objects to select (optional)
244 244
      *
245
-     * @return bool
245
+     * @return boolean|null
246 246
      * @abstract
247 247
      */
248 248
     public function build($sDates = array())
Please login to merge, or discard this patch.
class/pear/Calendar/Engine/Interface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -346,7 +346,7 @@
 block discarded – undo
346 346
      *
347 347
      * @param int timestamp (depending on implementation)
348 348
      *
349
-     * @return bool
349
+     * @return boolean|null
350 350
      */
351 351
     public function isToday($stamp)
352 352
     {
Please login to merge, or discard this patch.
class/pear/Calendar/docs/examples/1.php 1 patch
Switch Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -35,32 +35,32 @@
 block discarded – undo
35 35
 }
36 36
 
37 37
 switch (@$_GET['view']) {
38
-    default:
39
-        $_GET['view'] = 'calendar_year';
40
-    case 'calendar_year':
41
-        require_once CALENDAR_ROOT.'Year.php';
42
-        $c = new Calendar_Year($_GET['y']);
43
-        break;
44
-    case 'calendar_month':
45
-        require_once CALENDAR_ROOT.'Month.php';
46
-        $c = new Calendar_Month($_GET['y'], $_GET['m']);
47
-        break;
48
-    case 'calendar_day':
49
-        require_once CALENDAR_ROOT.'Day.php';
50
-        $c = new Calendar_Day($_GET['y'], $_GET['m'], $_GET['d']);
51
-        break;
52
-    case 'calendar_hour':
53
-        require_once CALENDAR_ROOT.'Hour.php';
54
-        $c = new Calendar_Hour($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h']);
55
-        break;
56
-    case 'calendar_minute':
57
-        require_once CALENDAR_ROOT.'Minute.php';
58
-        $c = new Calendar_Minute($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h'], $_GET['i']);
59
-        break;
60
-    case 'calendar_second':
61
-        require_once CALENDAR_ROOT.'Second.php';
62
-        $c = new Calendar_Second($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h'], $_GET['i'], $_GET['s']);
63
-        break;
38
+        default:
39
+            $_GET['view'] = 'calendar_year';
40
+        case 'calendar_year':
41
+            require_once CALENDAR_ROOT.'Year.php';
42
+            $c = new Calendar_Year($_GET['y']);
43
+            break;
44
+        case 'calendar_month':
45
+            require_once CALENDAR_ROOT.'Month.php';
46
+            $c = new Calendar_Month($_GET['y'], $_GET['m']);
47
+            break;
48
+        case 'calendar_day':
49
+            require_once CALENDAR_ROOT.'Day.php';
50
+            $c = new Calendar_Day($_GET['y'], $_GET['m'], $_GET['d']);
51
+            break;
52
+        case 'calendar_hour':
53
+            require_once CALENDAR_ROOT.'Hour.php';
54
+            $c = new Calendar_Hour($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h']);
55
+            break;
56
+        case 'calendar_minute':
57
+            require_once CALENDAR_ROOT.'Minute.php';
58
+            $c = new Calendar_Minute($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h'], $_GET['i']);
59
+            break;
60
+        case 'calendar_second':
61
+            require_once CALENDAR_ROOT.'Second.php';
62
+            $c = new Calendar_Second($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h'], $_GET['i'], $_GET['s']);
63
+            break;
64 64
 }
65 65
 
66 66
 echo 'Viewing: '.@$_GET['view'].'<br>';
Please login to merge, or discard this patch.
class/pear/Calendar/docs/examples/13.php 1 patch
Switch Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -39,32 +39,32 @@
 block discarded – undo
39 39
 }
40 40
 
41 41
 switch (@$_GET['view']) {
42
-    default:
43
-        $_GET['view'] = 'calendar_year';
44
-    case 'calendar_year':
45
-        require_once CALENDAR_ROOT.'Year.php';
46
-        $c = new Calendar_Year($_GET['y']);
47
-        break;
48
-    case 'calendar_month':
49
-        require_once CALENDAR_ROOT.'Month.php';
50
-        $c = new Calendar_Month($_GET['y'], $_GET['m']);
51
-        break;
52
-    case 'calendar_day':
53
-        require_once CALENDAR_ROOT.'Day.php';
54
-        $c = new Calendar_Day($_GET['y'], $_GET['m'], $_GET['d']);
55
-        break;
56
-    case 'calendar_hour':
57
-        require_once CALENDAR_ROOT.'Hour.php';
58
-        $c = new Calendar_Hour($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h']);
59
-        break;
60
-    case 'calendar_minute':
61
-        require_once CALENDAR_ROOT.'Minute.php';
62
-        $c = new Calendar_Minute($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h'], $_GET['i']);
63
-        break;
64
-    case 'calendar_second':
65
-        require_once CALENDAR_ROOT.'Second.php';
66
-        $c = new Calendar_Second($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h'], $_GET['i'], $_GET['s']);
67
-        break;
42
+        default:
43
+            $_GET['view'] = 'calendar_year';
44
+        case 'calendar_year':
45
+            require_once CALENDAR_ROOT.'Year.php';
46
+            $c = new Calendar_Year($_GET['y']);
47
+            break;
48
+        case 'calendar_month':
49
+            require_once CALENDAR_ROOT.'Month.php';
50
+            $c = new Calendar_Month($_GET['y'], $_GET['m']);
51
+            break;
52
+        case 'calendar_day':
53
+            require_once CALENDAR_ROOT.'Day.php';
54
+            $c = new Calendar_Day($_GET['y'], $_GET['m'], $_GET['d']);
55
+            break;
56
+        case 'calendar_hour':
57
+            require_once CALENDAR_ROOT.'Hour.php';
58
+            $c = new Calendar_Hour($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h']);
59
+            break;
60
+        case 'calendar_minute':
61
+            require_once CALENDAR_ROOT.'Minute.php';
62
+            $c = new Calendar_Minute($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h'], $_GET['i']);
63
+            break;
64
+        case 'calendar_second':
65
+            require_once CALENDAR_ROOT.'Second.php';
66
+            $c = new Calendar_Second($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h'], $_GET['i'], $_GET['s']);
67
+            break;
68 68
 }
69 69
 
70 70
 // Convert timestamp to human readable date
Please login to merge, or discard this patch.
class/utilities.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -463,8 +463,8 @@
 block discarded – undo
463 463
     /**************************************************************************/
464 464
     /**
465 465
      * @param $color
466
-     * @param $plancher
467
-     * @param $plafond
466
+     * @param integer $plancher
467
+     * @param integer $plafond
468 468
      *
469 469
      * @return string
470 470
      */
Please login to merge, or discard this patch.
class/tableForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      *
41 41
      * @internal param bool $encode To sanitizer the text?
42 42
      *
43
-     * @return array array of name/value pairs assigned to form elements
43
+     * @return boolean|string array of name/value pairs assigned to form elements
44 44
      */
45 45
     public function getAddBaliseTable()
46 46
     {
Please login to merge, or discard this patch.