From a5dde8a140d377c2a51c7023fe99c6eabf0d0cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 8 Jun 2022 15:13:02 +0800 Subject: [PATCH] modify plugin name --- Command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command.php b/Command.php index a37b29e..5310dc8 100644 --- a/Command.php +++ b/Command.php @@ -127,7 +127,7 @@ class Command extends Component */ private function print_r($time): string { - return print_r([$this->sql, $this->params], true) . (microtime(true) - $time); + return print_r(['time' => microtime(true) - $time, 'sql' => $this->sql, 'param' => $this->params], true); }