mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
fix some psalm issues
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
23429f3e59
commit
edb8bd228b
4 changed files with 18 additions and 23 deletions
|
|
@ -46,7 +46,7 @@ class ConfigurationManager
|
|||
return $config['secrets'][$secretId];
|
||||
}
|
||||
|
||||
private function DoubleSafeBackupSecret(string $borgBackupPassword) {
|
||||
private function DoubleSafeBackupSecret(string $borgBackupPassword) : void {
|
||||
file_put_contents(DataConst::GetBackupSecretFile(), $borgBackupPassword);
|
||||
}
|
||||
|
||||
|
|
@ -101,10 +101,6 @@ class ConfigurationManager
|
|||
$backupTimes[] = $backupTimesTemp[1];
|
||||
}
|
||||
}
|
||||
|
||||
if (!is_array($backupTimes)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
return $backupTimes;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue