Skip to content

Commit 517cc55

Browse files
committed
[Validator] Constraints as php 8 Attributes.
1 parent e3b70cb commit 517cc55

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tests/Fixtures/Attribute/Foo.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@
1111

1212
namespace Symfony\Component\HttpKernel\Tests\Fixtures\Attribute;
1313

14-
use Attribute;
1514
use Symfony\Component\HttpKernel\Attribute\ArgumentInterface;
1615

17-
#[Attribute(Attribute::TARGET_PARAMETER)]
16+
#[\Attribute(\Attribute::TARGET_PARAMETER)]
1817
class Foo implements ArgumentInterface
1918
{
2019
private $foo;

0 commit comments

Comments
 (0)