Skip to content

Commit 48c9662

Browse files
Fix inline var annotations
1 parent 1b99528 commit 48c9662

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Extension/Validator/ValidatorExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ public function __construct(ValidatorInterface $validator, bool $legacyErrorMess
3636
{
3737
$this->legacyErrorMessages = $legacyErrorMessages;
3838

39+
/** @var ClassMetadata $metadata */
3940
$metadata = $validator->getMetadataFor(\Symfony\Component\Form\Form::class);
4041

4142
// Register the form constraints in the validator programmatically.
4243
// This functionality is required when using the Form component without
4344
// the DIC, where the XML file is loaded automatically. Thus the following
4445
// code must be kept synchronized with validation.xml
4546

46-
/** @var ClassMetadata $metadata */
4747
$metadata->addConstraint(new Form());
4848
$metadata->addConstraint(new Traverse(false));
4949

ResolvedFormType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ public function finishView(FormView $view, FormInterface $form, array $options)
129129

130130
$this->innerType->finishView($view, $form, $options);
131131

132+
/** @var FormTypeExtensionInterface $extension */
132133
foreach ($this->typeExtensions as $extension) {
133-
/** @var FormTypeExtensionInterface $extension */
134134
$extension->finishView($view, $form, $options);
135135
}
136136
}

0 commit comments

Comments
 (0)