This commit is contained in:
2023-04-02 20:13:56 +08:00
parent 0a323b5f62
commit f3a863f55c
+2 -1
View File
@@ -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);