eee
This commit is contained in:
@@ -185,7 +185,7 @@ class Str
|
|||||||
* @return array
|
* @return array
|
||||||
* 剩余天,带分秒
|
* 剩余天,带分秒
|
||||||
*/
|
*/
|
||||||
public static function timeout($endTime, int $startTime = NULL): array
|
public static function timeout($endTime, ?int $startTime = NULL): array
|
||||||
{
|
{
|
||||||
$endTime = $endTime - (!empty($startTime) ? $startTime : time());
|
$endTime = $endTime - (!empty($startTime) ? $startTime : time());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user