Skip to content

Commit

Permalink
Changes for MM xliff
Browse files Browse the repository at this point in the history
  • Loading branch information
zonky2 committed May 11, 2024
1 parent bded15c commit 898f7e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ protected function getPropertyLabel(EnvironmentInterface $environment, PropertyI

$key = $property->getLabel();

if ('' === $key) {
if ('' === $key || null === $key) {
throw new LogicException('Missing label for property ' . $property->getName());
}

Expand Down

0 comments on commit 898f7e3

Please sign in to comment.