@@ -21,7 +21,7 @@ |
||
21 | 21 | { |
22 | 22 | if (!in_array($value, $this->supportedLanguages)) { |
23 | 23 | throw new \InvalidArgumentException( |
24 | - 'Given language ' . $value . ' is not supported, only nl en fr are allowed.' |
|
24 | + 'Given language '.$value.' is not supported, only nl en fr are allowed.' |
|
25 | 25 | ); |
26 | 26 | } |
27 | 27 |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | public function __toString(): string |
38 | 38 | { |
39 | - return (string)$this->value; |
|
39 | + return (string) $this->value; |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |