mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 03:23:48 +00:00
apply rector rules
This commit is contained in:
@@ -35,35 +35,31 @@ use function array_keys;
|
||||
abstract class AbstractTask implements HasCenterInterface, HasScopeInterface
|
||||
{
|
||||
/**
|
||||
* @var User
|
||||
* @ORM\ManyToOne(
|
||||
* targetEntity="\Chill\MainBundle\Entity\User"
|
||||
* )
|
||||
* @Serializer\Groups({"read"})
|
||||
*/
|
||||
private $assignee;
|
||||
private ?\Chill\MainBundle\Entity\User $assignee = null;
|
||||
|
||||
/**
|
||||
* @var Scope
|
||||
* @ORM\ManyToOne(
|
||||
* targetEntity="\Chill\MainBundle\Entity\Scope"
|
||||
* )
|
||||
*/
|
||||
private $circle;
|
||||
private ?\Chill\MainBundle\Entity\Scope $circle = null;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
* @ORM\Column(name="closed", type="boolean", options={ "default": false })
|
||||
* @Serializer\Groups({"read"})
|
||||
*/
|
||||
private $closed = false;
|
||||
private bool $closed = false;
|
||||
|
||||
/**
|
||||
* @var AccompanyingPeriod
|
||||
* @ORM\ManyToOne(targetEntity="\Chill\PersonBundle\Entity\AccompanyingPeriod")
|
||||
* @Serializer\Groups({"read"})
|
||||
*/
|
||||
private $course;
|
||||
private ?\Chill\PersonBundle\Entity\AccompanyingPeriod $course = null;
|
||||
|
||||
/**
|
||||
* @var json
|
||||
@@ -74,38 +70,34 @@ abstract class AbstractTask implements HasCenterInterface, HasScopeInterface
|
||||
private $currentStates = [];
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @ORM\Column(name="description", type="text")
|
||||
* @Serializer\Groups({"read"})
|
||||
*/
|
||||
private $description = '';
|
||||
private string $description = '';
|
||||
|
||||
/**
|
||||
* @var Person
|
||||
* @ORM\ManyToOne(
|
||||
* targetEntity="\Chill\PersonBundle\Entity\Person"
|
||||
* )
|
||||
* @Serializer\Groups({"read"})
|
||||
*/
|
||||
private $person;
|
||||
private ?\Chill\PersonBundle\Entity\Person $person = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @ORM\Column(name="title", type="text")
|
||||
* @Assert\NotBlank
|
||||
* @Serializer\Groups({"read"})
|
||||
*/
|
||||
private $title = '';
|
||||
private string $title = '';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @ORM\Column(name="type", type="string", length=255)
|
||||
* @Serializer\Groups({"read"})
|
||||
*/
|
||||
private $type;
|
||||
private ?string $type = null;
|
||||
|
||||
public function getAssignee(): ?User
|
||||
{
|
||||
|
Reference in New Issue
Block a user