SonarQube code smells resolve #15
continuous-integration/drone/push Build is passing Details

LoginModification
Alexis 2 years ago
parent 2988f8e46f
commit 761ced2237

@ -8,12 +8,12 @@ function connect()
$login = "root"; $login = "root";
try { try {
$connection = new Connection($dsn ,$login,"root");
$connection = new Connection($dsn,$login,"root"); } catch (PDOException $e) {
} catch (PDOException $e){
http_response_code(404); http_response_code(404);
return http_response_code(); return http_response_code();
} }
return $connection; return $connection;
} }

Loading…
Cancel
Save