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: