diff --git a/lib/DbConnection.php b/lib/DbConnection.php index 903055b8..5d9adfed 100644 --- a/lib/DbConnection.php +++ b/lib/DbConnection.php @@ -8,7 +8,7 @@ class DbConnection{ public int $QueryCount = 0; public int $LastQueryAffectedRowCount = 0; - public function __construct(?string $defaultDatabase = null, string $host = 'localhost', ?string $user = null, string$password = '', bool $forceUtf8 = true, bool $require = true){ + public function __construct(?string $defaultDatabase = null, string $host = 'localhost', ?string $user = null, string $password = '', bool $forceUtf8 = true, bool $require = true){ if($user === null){ // Get the user running the script for local socket login $user = posix_getpwuid(posix_geteuid());