|
@@ -122,10 +122,10 @@ |
|
|
block discarded – undo |
|
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 begnining " . __CLASS__; |
|
|
125
|
+ $msg = "Types for Entity Sets should have the namespace at the begnining ".__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; |
Please login to merge, or discard this patch.