From f3a863f55ca58e46abb9427ad6615da00f204512 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Sun, 2 Apr 2023 20:13:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Command.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Command.php b/Command.php index d1ed9ff..3644b43 100644 --- a/Command.php +++ b/Command.php @@ -177,10 +177,11 @@ class Command extends Component } /** + * @param bool $restore * @return bool|int * @throws Exception */ - private function _execute($restore = false): bool|int + private function _execute(bool $restore = false): bool|int { try { $pdo = $this->db->getPdo($restore);