Skip to content

Commit abcda33

Browse files
CS fixes
1 parent 89c8619 commit abcda33

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Extension/Validator/ViolationMapper/ViolationMapper.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
use Symfony\Component\Form\FormRendererInterface;
1818
use Symfony\Component\Form\Util\InheritDataAwareIterator;
1919
use Symfony\Component\PropertyAccess\PropertyPathBuilder;
20+
use Symfony\Component\PropertyAccess\PropertyPathInterface;
2021
use Symfony\Component\PropertyAccess\PropertyPathIterator;
2122
use Symfony\Component\PropertyAccess\PropertyPathIteratorInterface;
2223
use Symfony\Component\Validator\Constraints\File;
@@ -312,7 +313,7 @@ private function reconstructPath(ViolationPath $violationPath, FormInterface $or
312313
// Cut the piece out of the property path and proceed
313314
$propertyPathBuilder->remove($i);
314315
} else {
315-
/** @var \Symfony\Component\PropertyAccess\PropertyPathInterface $propertyPath */
316+
/** @var PropertyPathInterface $propertyPath */
316317
$propertyPath = $scope->getPropertyPath();
317318

318319
if (null === $propertyPath) {

FormError.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Symfony\Component\Form;
1313

1414
use Symfony\Component\Form\Exception\BadMethodCallException;
15+
use Symfony\Component\Translation\Translator;
1516

1617
/**
1718
* Wraps errors in forms.
@@ -38,7 +39,7 @@ class FormError
3839
* @param int|null $messagePluralization The value for error message pluralization
3940
* @param mixed $cause The cause of the error
4041
*
41-
* @see \Symfony\Component\Translation\Translator
42+
* @see Translator
4243
*/
4344
public function __construct(
4445
private string $message,

0 commit comments

Comments
 (0)