fix(manager): phpstan
All checks were successful
Cadoles/nineskeletor/pipeline/pr-master This commit looks good

This commit is contained in:
Arnaud Fornerot 2022-10-04 12:00:24 +02:00
parent 681b2f6547
commit 6c720ed62a

View File

@ -8,15 +8,13 @@ use Symfony\Component\HttpFoundation\Response;
class HomeController extends AbstractController
{
public function home(Request $request): Response
public function home(Request $request)
{
if ($request->getSession()->get('fgforceconnect') && !$this->getUser()) {
return $this->redirectToRoute('app_login');
}
if (!$this->getUser()) {
dump('here');
return $this->render('Home/home.html.twig', [
'useheader' => true,
'usemenu' => false,