From d713087dcbc8edb0d398f3c420d97f227f8c0e6a Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Mon, 26 Feb 2024 13:30:26 +0100 Subject: [PATCH] Changie and php style fixes --- .changes/unreleased/Fixed-20240226-122241.yaml | 5 +++++ src/Bundle/ChillActivityBundle/Form/ActivityType.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changes/unreleased/Fixed-20240226-122241.yaml diff --git a/.changes/unreleased/Fixed-20240226-122241.yaml b/.changes/unreleased/Fixed-20240226-122241.yaml new file mode 100644 index 000000000..f2a35ce1f --- /dev/null +++ b/.changes/unreleased/Fixed-20240226-122241.yaml @@ -0,0 +1,5 @@ +kind: Fixed +body: Fix translation of user job -> 'service' must be 'métier' +time: 2024-02-26T12:22:41.140939553+01:00 +custom: + Issue: "236" diff --git a/src/Bundle/ChillActivityBundle/Form/ActivityType.php b/src/Bundle/ChillActivityBundle/Form/ActivityType.php index d322089c8..fbcf60bf0 100644 --- a/src/Bundle/ChillActivityBundle/Form/ActivityType.php +++ b/src/Bundle/ChillActivityBundle/Form/ActivityType.php @@ -95,7 +95,7 @@ class ActivityType extends AbstractType ]); } - /** @var \Chill\PersonBundle\Entity\AccompanyingPeriod|null $accompanyingPeriod */ + /** @var AccompanyingPeriod|null $accompanyingPeriod */ $accompanyingPeriod = null; if ($options['accompanyingPeriod'] instanceof AccompanyingPeriod) {