@@ -37,7 +37,7 @@ |
||
| 37 | 37 | $options = explode(':', $validation); |
| 38 | 38 | $validationName = array_shift($options); |
| 39 | 39 | if (!array_key_exists($validationName, $this->map)) { |
| 40 | - throw new InvalidValidationNameException('unknown validation name ' . $validationName); |
|
| 40 | + throw new InvalidValidationNameException('unknown validation name '.$validationName); |
|
| 41 | 41 | } |
| 42 | 42 | return new $this->map[$validationName]($options); |
| 43 | 43 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | $this->name = $name; |
| 27 | 27 | $this->alias = $name; |
| 28 | 28 | $this->value = $value; |
| 29 | - if (!in_array($type, $this->types())) throw new ValueObjectInvalidTypeException('Wrong type: ' . $type); |
|
| 29 | + if (!in_array($type, $this->types())) throw new ValueObjectInvalidTypeException('Wrong type: '.$type); |
|
| 30 | 30 | $this->type = $type; |
| 31 | 31 | } |
| 32 | 32 | |