This commit is contained in:
Julie Lenaerts 2022-02-14 12:02:32 +01:00
parent d254a9e14a
commit bd05315de3

View File

@ -62,7 +62,6 @@ class AccompanyingPeriodWorkVoter extends Voter
case self::UPDATE:
return $this->security->isGranted(AccompanyingPeriodVoter::EDIT, $subject->getAccompanyingPeriod());
default:
throw new UnexpectedValueException("attribute {$attribute} is not supported");
}