@@ -13,7 +13,7 @@ |
||
13 | 13 | $regex = '[^ \t]{1,}(\.[^ \t]{1,}){0,}'; |
14 | 14 | |
15 | 15 | if (!is_string($string)) { |
16 | - $msg = "Input must be a string: ". get_class($this); |
|
16 | + $msg = "Input must be a string: ".get_class($this); |
|
17 | 17 | throw new \InvalidArgumentException($msg); |
18 | 18 | } |
19 | 19 | if ($this->isTQualifiedNameValid($string)) { |
@@ -13,7 +13,7 @@ |
||
13 | 13 | $regex = "Collection\([^ \t]{1,}(\.[^ \t]{1,}){0,}\)"; |
14 | 14 | |
15 | 15 | if (!is_string($string)) { |
16 | - $msg = "Input must be a string: ". get_class($this); |
|
16 | + $msg = "Input must be a string: ".get_class($this); |
|
17 | 17 | throw new \InvalidArgumentException($msg); |
18 | 18 | } |
19 | 19 | if ($this->isEDMSimpleTypeValid($string)) { |
@@ -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; |
@@ -15,7 +15,7 @@ |
||
15 | 15 | public function isEDMSimpleTypeValid($string) |
16 | 16 | { |
17 | 17 | if (!is_string($string)) { |
18 | - $msg = "Input must be a string: ". get_class($this); |
|
18 | + $msg = "Input must be a string: ".get_class($this); |
|
19 | 19 | throw new \InvalidArgumentException($msg); |
20 | 20 | } |
21 | 21 | if (!in_array($string, $this->validType)) { |
@@ -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; |
@@ -7,7 +7,7 @@ |
||
7 | 7 | public function isTActionValid($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 'Cascade' == $string || 'None' == $string; |
@@ -243,7 +243,7 @@ |
||
243 | 243 | public function isOK(&$msg = null) |
244 | 244 | { |
245 | 245 | if (!$this->isTGenerationPatternValid($this->storeGeneratedPattern)) { |
246 | - $msg = "Store generation pattern must be a valid TGenerationPattern: " . get_class($this); |
|
246 | + $msg = "Store generation pattern must be a valid TGenerationPattern: ".get_class($this); |
|
247 | 247 | return false; |
248 | 248 | } |
249 | 249 | if (!$this->isValidArrayOK( |
@@ -46,11 +46,11 @@ |
||
46 | 46 | public function isTTypeAttributesValid(&$msg = null) |
47 | 47 | { |
48 | 48 | if (null == $this->name) { |
49 | - $msg = "Name cannot be null: " . get_class($this); |
|
49 | + $msg = "Name cannot be null: ".get_class($this); |
|
50 | 50 | return false; |
51 | 51 | } |
52 | 52 | if (!$this->isTSimpleIdentifierValid($this->name)) { |
53 | - $msg = "Name must be a valid TSimpleIdentifier: " . get_class($this); |
|
53 | + $msg = "Name must be a valid TSimpleIdentifier: ".get_class($this); |
|
54 | 54 | return false; |
55 | 55 | } |
56 | 56 |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | public function isTFunctionImportAttributesValid(&$msg) |
266 | 266 | { |
267 | 267 | if (!$this->isTSimpleIdentifierValid($this->name)) { |
268 | - $msg = "Name must be a valid TSimpleIdentifier: " . get_class($this); |
|
268 | + $msg = "Name must be a valid TSimpleIdentifier: ".get_class($this); |
|
269 | 269 | return false; |
270 | 270 | } |
271 | 271 | /* |
@@ -274,11 +274,11 @@ discard block |
||
274 | 274 | return false; |
275 | 275 | }*/ |
276 | 276 | if (!$this->isObjectNullOrType('\AlgoWeb\ODataMetadata\MetadataV3\edm\TOperandType', $this->entitySet)) { |
277 | - $msg = "Entity set must be either null or an instance of TOperandType: " . get_class($this); |
|
277 | + $msg = "Entity set must be either null or an instance of TOperandType: ".get_class($this); |
|
278 | 278 | return false; |
279 | 279 | } |
280 | 280 | if (null != $this->methodAccess && $this->isTAccessOk($this->methodAccess)) { |
281 | - $msg = "Method access must be a valid TAccess: " . get_class($this); |
|
281 | + $msg = "Method access must be a valid TAccess: ".get_class($this); |
|
282 | 282 | return false; |
283 | 283 | } |
284 | 284 | if (!$this->isValidArrayOK( |