Skip to content

Commit feb5bbc

Browse files
committed
Merge branch 'master' of github.com:DivineOmega/laravel-password-exposed-validation-rule
2 parents 2d3c9cf + 754f45d commit feb5bbc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/PasswordExposed.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22

33
namespace DivineOmega\LaravelPasswordExposedValidationRule;
44

5-
use Illuminate\Contracts\Validation\Rule;
65
use DivineOmega\PasswordExposed\PasswordExposedChecker;
76
use DivineOmega\PasswordExposed\PasswordStatus;
7+
use Illuminate\Contracts\Validation\Rule;
88

99
class PasswordExposed implements Rule
1010
{
1111
/**
1212
* Determine if the validation rule passes.
1313
*
14-
* @param string $attribute
15-
* @param mixed $value
14+
* @param string $attribute
15+
* @param mixed $value
16+
*
1617
* @return bool
1718
*/
1819
public function passes($attribute, $value)
@@ -35,4 +36,4 @@ public function message()
3536
{
3637
return 'The :attribute has been exposed in a data breach.';
3738
}
38-
}
39+
}

0 commit comments

Comments
 (0)