declared class properties

This commit is contained in:
benson
2023-04-29 21:15:52 +08:00
parent 13fd802180
commit a197f66d6d
16 changed files with 65 additions and 14 deletions

View File

@@ -7,6 +7,8 @@ class Helper
//@var OC\DB\ConnectionAdapter
private $conn;
private $table = "ncdownloader_info";
private $prefixedTable;
public $queryBuilder;
public function __construct()
{

View File

@@ -86,7 +86,7 @@ class Settings extends AllConfig
$this->allConfig->setAppValue($this->appName, $key, $value);
}
} catch (\Exception $e) {
return ['error' => $e->getMessage];
return ['error' => $e->getMessage()];
}
return ['message' => "Saved!"];