@@ -32,7 +32,7 @@ |
||
32 | 32 | * AlphaNumeric constructor. |
33 | 33 | * @param array $allowedSpecialChars |
34 | 34 | */ |
35 | - public function __construct($allowedSpecialChars = []) |
|
35 | + public function __construct($allowedSpecialChars = [ ]) |
|
36 | 36 | { |
37 | 37 | $this->allowedSpecialChars = $allowedSpecialChars; |
38 | 38 | } |
@@ -11,7 +11,7 @@ |
||
11 | 11 | |
12 | 12 | class IPAddressValidator implements Validator |
13 | 13 | { |
14 | - public function validate($type, $options = []): Result |
|
14 | + public function validate($type, $options = [ ]): Result |
|
15 | 15 | { |
16 | 16 | if (filter_var($type, FILTER_VALIDATE_IP)) { |
17 | 17 | return new Success(); |