@@ -49,8 +49,7 @@ discard block |
||
| 49 | 49 | use Platine\Validator\RuleInterface; |
| 50 | 50 | use Platine\Validator\Validator; |
| 51 | 51 | |
| 52 | -class Password implements RuleInterface |
|
| 53 | -{ |
|
| 52 | +class Password implements RuleInterface { |
|
| 54 | 53 | /* |
| 55 | 54 | * The error type list |
| 56 | 55 | */ |
@@ -76,8 +75,7 @@ discard block |
||
| 76 | 75 | * Constructor |
| 77 | 76 | * @param array<string, bool|int> $rules |
| 78 | 77 | */ |
| 79 | - public function __construct(array $rules = []) |
|
| 80 | - { |
|
| 78 | + public function __construct(array $rules = []) { |
|
| 81 | 79 | $this->rules = array_merge([ |
| 82 | 80 | 'length' => 5, |
| 83 | 81 | 'uppercase' => false, |