diff --git a/src/Bridge/Symfony/Validator/Metadata/Property/Restriction/PropertySchemaChoiceRestriction.php b/src/Bridge/Symfony/Validator/Metadata/Property/Restriction/PropertySchemaChoiceRestriction.php
index <HASH>..<HASH> 100644
--- a/src/Bridge/Symfony/Validator/Metadata/Property/Restriction/PropertySchemaChoiceRestriction.php
+++ b/src/Bridge/Symfony/Validator/Metadata/Property/Restriction/PropertySchemaChoiceRestriction.php
@@ -32,8 +32,8 @@ final class PropertySchemaChoiceRestriction implements PropertySchemaRestriction
     {
         $choices = [];
 
-        if (\is_callable($choices = $constraint->callback)) {
-            $choices = $choices();
+        if (\is_callable($constraint->callback)) {
+            $choices = ($constraint->callback)();
         } elseif (\is_array($constraint->choices)) {
             $choices = $constraint->choices;
         }
Do not overwrite variable with unknown value (#<I>)