php cs-fixes

This commit is contained in:
Julie Lenaerts 2022-01-21 15:58:55 +01:00
parent e121c241c6
commit fc28ada811
2 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -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;