File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,18 @@ function timecop_freeze($time) {}
19
19
function timecop_travel ($ time ) {}
20
20
21
21
/**
22
+ * Accelerate time with specified scale
23
+ *
22
24
* @param float $scale
25
+ *
26
+ * @return bool
23
27
*/
24
28
function timecop_scale ($ scale ) {}
25
29
26
30
/**
27
31
* Return from time travel to current time
32
+ *
33
+ * @return bool
28
34
*/
29
35
function timecop_return () {}
30
36
@@ -49,12 +55,18 @@ public static function freeze($time) {}
49
55
public static function travel ($ time ) {}
50
56
51
57
/**
58
+ * Accelerate time with specified scale
59
+ *
52
60
* @param float $scale
61
+ *
62
+ * @return bool
53
63
*/
54
64
public static function scale ($ scale ) {}
55
65
56
66
/**
57
67
* Return from time travel to current time
68
+ *
69
+ * @return bool
58
70
*/
59
71
public static function return () {}
60
72
}
Original file line number Diff line number Diff line change @@ -1108,7 +1108,7 @@ PHP_FUNCTION(timecop_travel)
1108
1108
/* }}} */
1109
1109
1110
1110
/* {{{ proto int timecop_scale(long scale)
1111
- Time travel to specified timestamp */
1111
+ Accelerate time with specified scale */
1112
1112
PHP_FUNCTION (timecop_scale )
1113
1113
{
1114
1114
long scale ;
Original file line number Diff line number Diff line change @@ -1035,7 +1035,7 @@ PHP_FUNCTION(timecop_travel)
1035
1035
/* }}} */
1036
1036
1037
1037
/* {{{ proto int timecop_scale(long scale)
1038
- Time travel to specified timestamp */
1038
+ Accelerate time with specified scale */
1039
1039
PHP_FUNCTION (timecop_scale )
1040
1040
{
1041
1041
zend_long scale ;
You can’t perform that action at this time.
0 commit comments