From 079b666b3be65a55af3659458d417a46896f2e69 Mon Sep 17 00:00:00 2001 From: dingguodong Date: Thu, 23 May 2024 13:01:18 +0800 Subject: [PATCH] * Fix the not matched type. --- module/system/model.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/system/model.php b/module/system/model.php index bfda96bd16..6dcb639500 100644 --- a/module/system/model.php +++ b/module/system/model.php @@ -153,12 +153,12 @@ class systemModel extends model * Get backup status. * * @param object $instance - * @param object $backup + * @param string $backup * @return array */ - public function getBackupStatus(object $instance, object $backup): array + public function getBackupStatus(object $instance, string $backupName): array { - $rawResult = $this->cne->getBackupStatus($instance, $backup); + $rawResult = $this->cne->getBackupStatus($instance, $backupName); if(!empty($rawResult->code) && $rawResult->code == 200) {