Fix php error

This commit is contained in:
Teddy Cornaut 2022-04-07 13:29:05 +02:00
parent 12ededccc9
commit a6927e26ce
1 changed files with 4 additions and 5 deletions

View File

@ -1,19 +1,18 @@
<?php <?php
namespace App\Controller; namespace App\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
class MainController extends AbstractController class MainController extends AbstractController
{ {
/** /**
* @Route("/loginAppSaml", name="login_app_saml") * @Route("/loginAppSaml", name="login_app_saml")
*/ */
public function loginAppSaml(Request $request) public function loginAppSaml(Request $request)
{ {
return new Response("saml"); return new Response('saml');
} }
} }