mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 21:34:59 +00:00
apply rector rules
This commit is contained in:
@@ -226,12 +226,11 @@ class AccompanyingPeriod implements
|
||||
private ?int $id = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
* @ORM\Column(type="string", nullable=true)
|
||||
* @Groups({"read"})
|
||||
* @Assert\NotBlank(groups={AccompanyingPeriod::STEP_CONFIRMED})
|
||||
*/
|
||||
private $intensity = self::INTENSITY_OCCASIONAL;
|
||||
private string $intensity = self::INTENSITY_OCCASIONAL;
|
||||
|
||||
/**
|
||||
* @ORM\ManyToOne(
|
||||
@@ -597,8 +596,6 @@ class AccompanyingPeriod implements
|
||||
*
|
||||
* Search for the person's participation and set the end date at
|
||||
* 'now'.
|
||||
*
|
||||
* @param mixed $person
|
||||
*/
|
||||
public function closeParticipationFor(mixed $person): ?AccompanyingPeriodParticipation
|
||||
{
|
||||
@@ -1241,7 +1238,6 @@ class AccompanyingPeriod implements
|
||||
*
|
||||
* For closing a Person file, you should use Person::setClosed instead.
|
||||
*
|
||||
* @param mixed $closingDate
|
||||
*
|
||||
* @return AccompanyingPeriod
|
||||
*/
|
||||
|
Reference in New Issue
Block a user