mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
fix deprecations: use fqcn for FormType
This commit is contained in:
parent
6bf4f68f0d
commit
4519a1c92c
@ -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
|
||||
))
|
||||
|
Loading…
x
Reference in New Issue
Block a user