Skip to content

Commit 0d37237

Browse files
committed
代码优化
1 parent 5eb16b5 commit 0d37237

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/think/App.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -458,9 +458,8 @@ public function loadEnv(string $envName = ''): void
458458
public function initialize()
459459
{
460460
$this->initialized = true;
461-
462-
$this->beginTime = microtime(true);
463-
$this->beginMem = memory_get_usage();
461+
$this->beginTime = microtime(true);
462+
$this->beginMem = memory_get_usage();
464463

465464
// 加载环境变量
466465
if ($this->baseEnvName) {

0 commit comments

Comments
 (0)