feat (gestion exceptions) #19: traitement retour: typage, un seul message pour erreur login ou mdp
Some checks reported warnings
Cadoles/hydra-sql/pipeline/pr-develop This commit is unstable
Some checks reported warnings
Cadoles/hydra-sql/pipeline/pr-develop This commit is unstable
This commit is contained in:
@ -51,7 +51,7 @@ class SQLLoginService extends AbstractController
|
||||
return $datas;
|
||||
}
|
||||
|
||||
public function fetchPassword(string $login)
|
||||
public function fetchPassword($login): array|bool
|
||||
{
|
||||
try {
|
||||
$dbh = $this->getConnection();
|
||||
|
Reference in New Issue
Block a user