Skip to content

Commit b18b1b8

Browse files
Merge branch '6.4' into 7.3
* 6.4: Fix inline var annotations [Console][Table] Don't split grapheme clusters [FrameworkBundle] Fix block type from `OK` to `ERROR` when local vault is disabled in `SecretsGenerateKeysCommand` [FrameworkBundle] Add tests for `secrets:decrypt-to-local`, `encrypt-from-local`, and `generate-keys` commands Reflection*::setAccessible() has no effect as of PHP 8.1
2 parents 622ac5e + 48c9662 commit b18b1b8

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
@@ -33,14 +33,14 @@ public function __construct(
3333
private ?FormRendererInterface $formRenderer = null,
3434
private ?TranslatorInterface $translator = null,
3535
) {
36+
/** @var ClassMetadata $metadata */
3637
$metadata = $validator->getMetadataFor(\Symfony\Component\Form\Form::class);
3738

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

43-
/** @var ClassMetadata $metadata */
4444
$metadata->addConstraint(new Form());
4545
$metadata->addConstraint(new Traverse(false));
4646
}

ResolvedFormType.php

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

118118
$this->innerType->finishView($view, $form, $options);
119119

120+
/** @var FormTypeExtensionInterface $extension */
120121
foreach ($this->typeExtensions as $extension) {
121-
/** @var FormTypeExtensionInterface $extension */
122122
$extension->finishView($view, $form, $options);
123123
}
124124
}

0 commit comments

Comments
 (0)