@@ -13,11 +13,11 @@ |
||
13 | 13 | class MatchesPasswordException extends ValidationException |
14 | 14 | { |
15 | 15 | public static $defaultTemplates = [ |
16 | - self::MODE_DEFAULT => [ |
|
17 | - self::STANDARD => '{{name}} does not macth', |
|
18 | - ], |
|
19 | - self::MODE_NEGATIVE => [ |
|
20 | - self::STANDARD => '{{name}} does not macth negative', |
|
21 | - ] |
|
22 | - ]; |
|
16 | + self::MODE_DEFAULT => [ |
|
17 | + self::STANDARD => '{{name}} does not macth', |
|
18 | + ], |
|
19 | + self::MODE_NEGATIVE => [ |
|
20 | + self::STANDARD => '{{name}} does not macth negative', |
|
21 | + ] |
|
22 | + ]; |
|
23 | 23 | } |
24 | 24 | \ No newline at end of file |
@@ -16,6 +16,6 @@ |
||
16 | 16 | |
17 | 17 | public function validate($input) |
18 | 18 | { |
19 | - return User::where('email',$input)->count() === 0; |
|
19 | + return User::where('email', $input)->count() === 0; |
|
20 | 20 | } |
21 | 21 | } |
22 | 22 | \ No newline at end of file |
@@ -26,7 +26,7 @@ |
||
26 | 26 | { |
27 | 27 | $user = User::where('email', $email)->first(); |
28 | 28 | |
29 | - if (! $user) { |
|
29 | + if (!$user) { |
|
30 | 30 | return false; |
31 | 31 | } |
32 | 32 |