Code smells and bugs resolve 12
continuous-integration/drone/push Build is passing Details

master
Alexis 2 years ago
parent 85fac9b09e
commit 329f6da171

@ -52,8 +52,7 @@ class ModelCandidate
$categs = explode("_", $categs);
array_pop($categs);
$category[] = $categs;
}
else {
} else {
$questionsId[] = array_shift($dataIds);
$answer[] = $answerAndCategory;
$category[] = [];
@ -165,7 +164,8 @@ class ModelCandidate
* @throws InexistantLoginException
* @throws Exception
*/
public function login() :void {
public function login(): void
{
global $rep, $views, $sel;
$password = Clean::simpleString($_REQUEST['password']);
$identifiant = Clean::simpleString($_REQUEST['login']);

Loading…
Cancel
Save