fix: database as optional param for set_credentials

This commit is contained in:
Victor Westerlund 2026-02-12 08:44:18 +01:00
parent f4b8f8673e
commit 0486d1dea1
Signed by: vlw
GPG key ID: D0AD730E1057DFC6

View file

@ -32,7 +32,7 @@
?string $host = self::DEFAULT_HOSTNAME,
?string $username = self::DEFAULT_USERNAME,
?string $password = self::DEFAULT_PASSWORD,
string $database
?string $database = ""
) {
// Create key if it does not exist
if (!$_ENV["mariadb"]) {