We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2d3c9cf + 754f45d commit feb5bbcCopy full SHA for feb5bbc
src/PasswordExposed.php
@@ -2,17 +2,18 @@
2
3
namespace DivineOmega\LaravelPasswordExposedValidationRule;
4
5
-use Illuminate\Contracts\Validation\Rule;
6
use DivineOmega\PasswordExposed\PasswordExposedChecker;
7
use DivineOmega\PasswordExposed\PasswordStatus;
+use Illuminate\Contracts\Validation\Rule;
8
9
class PasswordExposed implements Rule
10
{
11
/**
12
* Determine if the validation rule passes.
13
*
14
- * @param string $attribute
15
- * @param mixed $value
+ * @param string $attribute
+ * @param mixed $value
16
+ *
17
* @return bool
18
*/
19
public function passes($attribute, $value)
@@ -35,4 +36,4 @@ public function message()
35
36
37
return 'The :attribute has been exposed in a data breach.';
38
}
-}
39
+}
0 commit comments