Compare commits

..

No commits in common. "master" and "develop" have entirely different histories.

6 changed files with 7 additions and 39 deletions

View File

@ -16,9 +16,6 @@ class Fault
#[ORM\Column(length: 255)]
private ?string $Wording = null;
#[ORM\Column(length: 255)]
private ?string $Description = null;
public function getId(): ?int
{
return $this->id;
@ -35,16 +32,4 @@ class Fault
return $this;
}
public function getDescription(): ?string
{
return $this->Description;
}
public function setDescription(string $Description): static
{
$this->Description = $Description;
return $this;
}
}

View File

@ -19,9 +19,6 @@ class Vehicle
#[ORM\Column(length: 255)]
private ?string $Brand = null;
#[ORM\Column(length: 255)]
private ?string $Model = null;
public function getId(): ?int
{
return $this->id;
@ -50,14 +47,4 @@ class Vehicle
return $this;
}
public function getModel(): ?string
{
return $this->Model;
}
public function setModel(?string $Model): void
{
$this->Model = $Model;
}
}

View File

@ -3,8 +3,8 @@
namespace App\Form;
use App\Entity\Skill;
use Doctrine\DBAL\Types\TextType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;

View File

@ -3,9 +3,9 @@
namespace App\Form;
use App\Entity\Stock;
use Doctrine\DBAL\Types\IntegerType;
use Doctrine\DBAL\Types\TextType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\IntegerType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;

View File

@ -3,10 +3,8 @@
namespace App\Form;
use App\Entity\User;
use Doctrine\DBAL\Types\TextType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\Form\Extension\Core\Type\DateType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
@ -18,13 +16,11 @@ class UserType extends AbstractType
->add('email', TextType::class)
->add('FirstName', TextType::class)
->add('LastName', TextType::class)
->add('BirthDate', DateType::class, [
->add('BirthDate', \DateTime::class, [
'widget' => 'single_text',
])
->add('Phone', TextType::class)
->add('roles', ChoiceType::class, [
'multiple' => true,
])
->add('roles', TextType::class)
->add('password', TextType::class)
;
}

View File

@ -3,8 +3,8 @@
namespace App\Form;
use App\Entity\Vehicle;
use Doctrine\DBAL\Types\TextType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;