@@ -122,10 +122,10 @@ |
||
| 122 | 122 | foreach ($entitySets as $eset) { |
| 123 | 123 | $eSetType = $eset->getEntityType(); |
| 124 | 124 | if (substr($eSetType, 0, strlen($this->getNamespace())) != $this->getNamespace()) { |
| 125 | - $msg = "Types for Entity Sets should have the namespace at the beginning " . __CLASS__; |
|
| 125 | + $msg = "Types for Entity Sets should have the namespace at the beginning ".__CLASS__; |
|
| 126 | 126 | return false; |
| 127 | 127 | } |
| 128 | - $eSetType = str_replace($this->getNamespace() . ".", "", $eSetType); |
|
| 128 | + $eSetType = str_replace($this->getNamespace().".", "", $eSetType); |
|
| 129 | 129 | if (!in_array($eSetType, $entityTypeNames)) { |
| 130 | 130 | $msg = "entitySet Types should have a matching type name in entity Types"; |
| 131 | 131 | return false; |
@@ -467,20 +467,20 @@ |
||
| 467 | 467 | $pArray = []; |
| 468 | 468 | foreach ($this->getProperty() as $prop) { |
| 469 | 469 | if (in_array($prop->getName(), $pArray)) { |
| 470 | - $msg = "Property Names, and Navigation Property Must Be Unique " . __CLASS__; |
|
| 470 | + $msg = "Property Names, and Navigation Property Must Be Unique ".__CLASS__; |
|
| 471 | 471 | return false; |
| 472 | 472 | } |
| 473 | 473 | $pArray[] = $prop->getName(); |
| 474 | 474 | } |
| 475 | 475 | foreach ($this->getNavigationProperty() as $prop) { |
| 476 | 476 | if (in_array($prop->getName(), $pArray)) { |
| 477 | - $msg = "Property Names, and Navigation Property Must Be Unique " . __CLASS__; |
|
| 477 | + $msg = "Property Names, and Navigation Property Must Be Unique ".__CLASS__; |
|
| 478 | 478 | return false; |
| 479 | 479 | } |
| 480 | 480 | $pArray[] = $prop->getName(); |
| 481 | 481 | } |
| 482 | 482 | if (in_array($this->getName(), $pArray)) { |
| 483 | - $msg = "entity types can not contain a property with the same name " . __CLASS__; |
|
| 483 | + $msg = "entity types can not contain a property with the same name ".__CLASS__; |
|
| 484 | 484 | return false; |
| 485 | 485 | } |
| 486 | 486 | return true; |