@@ -17,7 +17,7 @@ |
||
17 | 17 | //$regex = "/[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}(\.[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}){0,}/"; |
18 | 18 | |
19 | 19 | if (!is_string($string)) { |
20 | - $msg = "Input must be a string: " . get_class($this); |
|
20 | + $msg = "Input must be a string: ".get_class($this); |
|
21 | 21 | throw new \InvalidArgumentException($msg); |
22 | 22 | } |
23 | 23 | if ($this->isEDMSimpleTypeValid($string)) { |
@@ -14,7 +14,7 @@ |
||
14 | 14 | public function isEDMSimpleTypeValid($string) |
15 | 15 | { |
16 | 16 | if (!is_string($string)) { |
17 | - $msg = "Input must be a string: " . get_class($this); |
|
17 | + $msg = "Input must be a string: ".get_class($this); |
|
18 | 18 | throw new \InvalidArgumentException($msg); |
19 | 19 | } |
20 | 20 | if (!in_array($string, static::$v3EDMSimpleType)) { |