@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | /** |
36 | 36 | * @var array $allowedChars |
37 | 37 | */ |
38 | - private $allowedChars = []; |
|
38 | + private $allowedChars = [ ]; |
|
39 | 39 | |
40 | 40 | /** |
41 | 41 | * NameValidator constructor. |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * @param int $maxLength |
45 | 45 | * @param array $allowedChars |
46 | 46 | */ |
47 | - public function __construct(int $minLength = 1, int $maxLength = 255, $allowedChars = ["\'", "-", ".", " "]) |
|
47 | + public function __construct(int $minLength = 1, int $maxLength = 255, $allowedChars = [ "\'", "-", ".", " " ]) |
|
48 | 48 | { |
49 | 49 | $this->minLength = $minLength; |
50 | 50 | $this->maxLength = $maxLength; |