Skip to content

Commit 4196166

Browse files
Upgraded to support Laravel 6 and above
1 parent 986f1e3 commit 4196166

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/CUIT.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ public function __construct()
1616
//
1717
}
1818

19+
/**
20+
* Determine if the validation rule passes.
21+
*
22+
* @param string $attribute
23+
* @param mixed $value
24+
* @return bool
25+
*/
26+
public function passes($attribute, $value)
27+
{
28+
return $this->validate($attribute, $value);
29+
}
30+
1931
/**
2032
* Determine if the validation rule passes.
2133
*

0 commit comments

Comments
 (0)