From 0756bec5806bc5b44bc3409c3613487f4cd9c204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 7 Nov 2022 18:07:26 +0100 Subject: [PATCH] DX: fix cs --- .../Service/RollingDate/RollingDateConverter.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Service/RollingDate/RollingDateConverter.php b/src/Bundle/ChillMainBundle/Service/RollingDate/RollingDateConverter.php index e3cfb8e89..9ec78c509 100644 --- a/src/Bundle/ChillMainBundle/Service/RollingDate/RollingDateConverter.php +++ b/src/Bundle/ChillMainBundle/Service/RollingDate/RollingDateConverter.php @@ -62,8 +62,9 @@ class RollingDateConverter case RollingDate::T_FIXED_DATE: if (null === $rollingDate->getFixedDate()) { - throw new \LogicException("You must provide a fixed date when selecting a fixed date"); + throw new LogicException('You must provide a fixed date when selecting a fixed date'); } + return $rollingDate->getFixedDate(); default: