mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
fixes on tests
This commit is contained in:
@@ -173,8 +173,6 @@ class AccompanyingPeriod implements
|
||||
private bool $emergency = false;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Id
|
||||
* @ORM\Column(name="id", type="integer")
|
||||
* @ORM\GeneratedValue(strategy="AUTO")
|
||||
@@ -475,7 +473,7 @@ class AccompanyingPeriod implements
|
||||
$participation = $this->getOpenParticipationContainsPerson($person);
|
||||
|
||||
if ($participation instanceof AccompanyingPeriodParticipation) {
|
||||
$participation->setEndDate(new DateTimeImmutable('now'));
|
||||
$participation->setEndDate(new DateTime('now'));
|
||||
}
|
||||
|
||||
return $participation;
|
||||
@@ -600,11 +598,6 @@ class AccompanyingPeriod implements
|
||||
throw new LogicException('no validation group permitted with this step');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get id.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
|
Reference in New Issue
Block a user