From 09606c28a11dc1cbc03da6e959566be8df5ab030 Mon Sep 17 00:00:00 2001 From: Alexis Date: Tue, 7 Feb 2023 14:04:27 +0100 Subject: [PATCH] SonarQube code smells resolve #17 --- Source/API/script/Config/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/API/script/Config/config.php b/Source/API/script/Config/config.php index 836d091..c412be2 100644 --- a/Source/API/script/Config/config.php +++ b/Source/API/script/Config/config.php @@ -8,7 +8,7 @@ function connect() $login = "root"; try { - $connection = new Connection($dsn, $login,"root"); + $connection = new Connection($dsn, $login, "root"); } catch (PDOException $e) { http_response_code(404); return http_response_code();