test php-cs-fixer jenkins
Some checks failed
Cadoles/hydra-sql/pipeline/pr-develop There was a failure building this commit
Cadoles/hydra-sql/pipeline/head This commit is unstable

This commit is contained in:
Rudy Masson 2022-05-19 11:13:29 +02:00
parent b451566452
commit 589c354579

View File

@ -55,7 +55,8 @@ class MainController extends AbstractController
'Content-Type: application/json',
],
]);
if (200 !== $response->getStatusCode()) {
if (200 !== $response->getStatusCode())
{
$this->session->clear();
throw new BadRequestException('pa de code 200');
}