Apply rector rules: add annotation for doctrine mapping

This commit is contained in:
2024-04-05 13:11:42 +02:00
parent a3f775a69b
commit 0ff4593863
118 changed files with 143 additions and 658 deletions

View File

@@ -13,7 +13,6 @@ namespace Chill\TaskBundle\Entity;
use Chill\TaskBundle\Entity\Task\SingleTaskPlaceEvent;
use Chill\TaskBundle\Repository\SingleTaskRepository;
use DateInterval;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
@@ -22,12 +21,6 @@ use Symfony\Component\Validator\Constraints as Assert;
/**
* SingleTask.
*
*
*
*
*
*
*/
#[ORM\Entity(repositoryClass: SingleTaskRepository::class)]
#[ORM\Table(name: 'chill_task.single_task')]
@@ -41,7 +34,6 @@ class SingleTask extends AbstractTask
#[ORM\Column(name: 'end_date', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
private ?\DateTime $endDate = null;
#[Serializer\Groups(['read'])]
#[ORM\Column(name: 'id', type: \Doctrine\DBAL\Types\Types::INTEGER)]
#[ORM\Id]