Skip to content
Snippets Groups Projects
Verified Commit 42d843f9 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3440878 by adwivedi008, mondrake: Fix return typehinting for...

Issue #3440878 by adwivedi008, mondrake: Fix return typehinting for LangcodeRequiredIfTranslatableValuesConstraintValidator::validate()
parent eeb7e60c
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ final class LangcodeRequiredIfTranslatableValuesConstraintValidator extends Cons ...@@ -17,7 +17,7 @@ final class LangcodeRequiredIfTranslatableValuesConstraintValidator extends Cons
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function validate(mixed $value, Constraint $constraint) { public function validate(mixed $value, Constraint $constraint): void {
assert($constraint instanceof LangcodeRequiredIfTranslatableValuesConstraint); assert($constraint instanceof LangcodeRequiredIfTranslatableValuesConstraint);
$mapping = $this->context->getObject(); $mapping = $this->context->getObject();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment