From 576f97a53db0ffe41151b5793ecd38892bd954f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 18 Feb 2022 14:54:54 +0800 Subject: [PATCH] modify plugin name --- Command.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Command.php b/Command.php index c4725cc..02d6662 100644 --- a/Command.php +++ b/Command.php @@ -125,12 +125,12 @@ class Command extends Component /** - * @param int $time + * @param float $time * @param mixed $result * @return mixed * @throws Exception */ - private function _timeout_log(int $time, mixed $result): mixed + private function _timeout_log(float $time, mixed $result): mixed { if (microtime(true) - $time >= 0.02) { $this->warning('Mysql:' . Json::encode([$this->sql, $this->params]) . (microtime(true) - $time));