@@ -25,7 +25,7 @@ |
||
25 | 25 | * @throws InvalidValue |
26 | 26 | * @throws \Phypes\Exception\InvalidRule |
27 | 27 | */ |
28 | - public function __construct(string $password, $options =[], Validator $validator = null) |
|
28 | + public function __construct(string $password, $options = [ ], Validator $validator = null) |
|
29 | 29 | { |
30 | 30 | if ($validator == null) { |
31 | 31 | // use the default validator |
@@ -27,7 +27,7 @@ |
||
27 | 27 | public function __construct(Type $type) |
28 | 28 | { |
29 | 29 | if (empty($type->getValue())) |
30 | - throw new EmptyRequiredValue('The required type '. get_class($type) . ' cannot have an empty value'); |
|
30 | + throw new EmptyRequiredValue('The required type ' . get_class($type) . ' cannot have an empty value'); |
|
31 | 31 | |
32 | 32 | $this->type = $type; |
33 | 33 | } |