@@ -10,7 +10,7 @@ |
||
10 | 10 | class IPAddressValidator extends AbstractValidator |
11 | 11 | { |
12 | 12 | |
13 | - public function validate($type, $options = []): Result |
|
13 | + public function validate($type, $options = [ ]): Result |
|
14 | 14 | { |
15 | 15 | if (filter_var($type, FILTER_VALIDATE_IP)) { |
16 | 16 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | |
10 | 10 | class EmailValidator extends AbstractValidator |
11 | 11 | { |
12 | - public function validate($email, $options = []): Result |
|
12 | + public function validate($email, $options = [ ]): Result |
|
13 | 13 | { |
14 | 14 | $this->validated = true; |
15 | 15 |
@@ -7,5 +7,5 @@ |
||
7 | 7 | |
8 | 8 | interface Validator |
9 | 9 | { |
10 | - public function validate($type, $options = []) : Result; |
|
10 | + public function validate($type, $options = [ ]) : Result; |
|
11 | 11 | } |
12 | 12 | \ No newline at end of file |
@@ -60,7 +60,7 @@ |
||
60 | 60 | * @param array $options |
61 | 61 | * @return Result |
62 | 62 | */ |
63 | - public function validate($password, $options = []): Result |
|
63 | + public function validate($password, $options = [ ]): Result |
|
64 | 64 | { |
65 | 65 | |
66 | 66 | if (!$this->isLongEnough($password, 8)) { |