@@ -11,7 +11,7 @@ |
||
| 11 | 11 | public function isTCommandTextValid($string) |
| 12 | 12 | { |
| 13 | 13 | if (!is_string($string)) { |
| 14 | - $msg = 'Input must be a string: ' . get_class($this); |
|
| 14 | + $msg = 'Input must be a string: '.get_class($this); |
|
| 15 | 15 | throw new \InvalidArgumentException($msg); |
| 16 | 16 | } |
| 17 | 17 | return true; |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | $regex = "/Collection\([^ \t]{1,}(\.[^ \t]{1,}){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)) { |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | public function isTMultiplicityValid($string) |
| 8 | 8 | { |
| 9 | 9 | if (!is_string($string)) { |
| 10 | - $msg = 'Input must be a string: ' . get_class($this); |
|
| 10 | + $msg = 'Input must be a string: '.get_class($this); |
|
| 11 | 11 | throw new \InvalidArgumentException($msg); |
| 12 | 12 | } |
| 13 | 13 | return '0..1' == $string || '1' == $string || '*' == $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)) { |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | public function isTParameterModeValid($string) |
| 8 | 8 | { |
| 9 | 9 | if (!is_string($string)) { |
| 10 | - $msg = 'Input must be a string: ' . get_class($this); |
|
| 10 | + $msg = 'Input must be a string: '.get_class($this); |
|
| 11 | 11 | throw new \InvalidArgumentException($msg); |
| 12 | 12 | } |
| 13 | 13 | return 'In' == $string || 'Out' == $string || 'InOut' == $string; |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | public function isTConcurrencyModeValid($string) |
| 8 | 8 | { |
| 9 | 9 | if (!is_string($string)) { |
| 10 | - $msg = 'Input must be a string: ' . get_class($this); |
|
| 10 | + $msg = 'Input must be a string: '.get_class($this); |
|
| 11 | 11 | throw new \InvalidArgumentException($msg); |
| 12 | 12 | } |
| 13 | 13 | return 'Fixed' == $string || 'None' == $string; |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | $regex = '/(Collection|Ref)\([^ \t]{1,}(\.[^ \t]{1,}){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->isTQualifiedNameValid($string)) { |
@@ -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 (isset(static::$v3PropertyTypeCache[$string])) { |
@@ -311,7 +311,7 @@ |
||
| 311 | 311 | } |
| 312 | 312 | foreach ($this->returnType as $type) { |
| 313 | 313 | if (!is_string($type) || !$this->isTCommandTextValid($type)) { |
| 314 | - $msg = implode($type) . ' must be a valid TCommandText'; |
|
| 314 | + $msg = implode($type).' must be a valid TCommandText'; |
|
| 315 | 315 | return false; |
| 316 | 316 | } |
| 317 | 317 | } |