This commit is contained in:
2023-10-24 17:22:32 +08:00
parent 9c2a349242
commit 9c3c1cfd82
11 changed files with 45 additions and 55 deletions
+2 -2
View File
@@ -94,8 +94,8 @@ class DateFormat
* @param null $endTime
* @return string
*/
public static function mtime($startTime, $endTime = null)
{
public static function mtime($startTime, $endTime = null): string
{
if ($endTime === null) {
$endTime = microtime(true);
}