test php-cs-fixer jenkins #1
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue