Skip to content

Commit 432b743

Browse files
authored
Merge pull request #1 from ekut/develop
Fix: Make PHP attribute on Url validator.
2 parents 7bbe425 + 481d302 commit 432b743

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Url.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
namespace Ekut\SpatieDtoValidators;
44

5+
use Attribute;
6+
7+
#[Attribute(Attribute::TARGET_PROPERTY)]
58
class Url extends AbstractBaseValidator
69
{
710
/**

0 commit comments

Comments
 (0)