mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 21:34:59 +00:00
fix deprecations: use fqcn for FormType
This commit is contained in:
@@ -25,6 +25,7 @@ use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
||||
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
|
||||
use Symfony\Component\Security\Core\Role\Role;
|
||||
use Symfony\Component\Form\Extension\Core\Type\FormType;
|
||||
|
||||
use Chill\PersonBundle\Entity\Person;
|
||||
use Chill\ReportBundle\Entity\Report;
|
||||
@@ -132,7 +133,7 @@ class ReportController extends Controller
|
||||
}
|
||||
|
||||
$form = $this->get('form.factory')
|
||||
->createNamedBuilder(null, 'form', null, array(
|
||||
->createNamedBuilder(null, FormType::class, null, array(
|
||||
'method' => 'GET',
|
||||
'csrf_protection' => false
|
||||
))
|
||||
|
Reference in New Issue
Block a user