mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
php cs-fixes
This commit is contained in:
parent
84993ca05b
commit
92788ccdc0
@ -25,10 +25,10 @@ class EntityToJsonTransformer implements DataTransformerInterface
|
|||||||
|
|
||||||
private bool $multiple;
|
private bool $multiple;
|
||||||
|
|
||||||
private string $type;
|
|
||||||
|
|
||||||
private SerializerInterface $serializer;
|
private SerializerInterface $serializer;
|
||||||
|
|
||||||
|
private string $type;
|
||||||
|
|
||||||
public function __construct(DenormalizerInterface $denormalizer, SerializerInterface $serializer, bool $multiple, string $type)
|
public function __construct(DenormalizerInterface $denormalizer, SerializerInterface $serializer, bool $multiple, string $type)
|
||||||
{
|
{
|
||||||
$this->denormalizer = $denormalizer;
|
$this->denormalizer = $denormalizer;
|
||||||
|
@ -13,7 +13,6 @@ namespace Chill\MainBundle\Form\Type;
|
|||||||
|
|
||||||
use Chill\MainBundle\Entity\User;
|
use Chill\MainBundle\Entity\User;
|
||||||
use Chill\MainBundle\Form\Type\DataTransformer\EntityToJsonTransformer;
|
use Chill\MainBundle\Form\Type\DataTransformer\EntityToJsonTransformer;
|
||||||
use Chill\MainBundle\Form\Type\DataTransformer\UserToJsonTransformer;
|
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
use Symfony\Component\Form\FormInterface;
|
use Symfony\Component\Form\FormInterface;
|
||||||
|
@ -61,13 +61,13 @@ final class CreationPersonType extends AbstractType
|
|||||||
'required' => false,
|
'required' => false,
|
||||||
])
|
])
|
||||||
->add('phonenumber', TelType::class, [
|
->add('phonenumber', TelType::class, [
|
||||||
'required' => false
|
'required' => false,
|
||||||
])
|
])
|
||||||
->add('mobilenumber', TelType::class, [
|
->add('mobilenumber', TelType::class, [
|
||||||
'required' => false
|
'required' => false,
|
||||||
])
|
])
|
||||||
->add('email', EmailType::class, [
|
->add('email', EmailType::class, [
|
||||||
'required' => false
|
'required' => false,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if ($this->askCenters) {
|
if ($this->askCenters) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user