Skip to content

Commit ca763cc

Browse files
committed
Remove unnecessary constant
1 parent 81a5cfe commit ca763cc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/Validation/DoesNotContainUrlRule.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ final class DoesNotContainUrlRule implements Rule
99
{
1010
use ValidatesAttributes;
1111

12-
const NAME = 'not_contain_url';
13-
1412
public function passes($attribute, $value): bool
1513
{
1614
return ! collect(explode(' ', $value))->contains(function ($word) {

0 commit comments

Comments
 (0)