@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | */ |
| 205 | 205 | public function hasDerivedTypes(ResourceEntityType $resourceType) |
| 206 | 206 | { |
| 207 | - if(in_array($resourceType,$this->baseTypes)){ |
|
| 207 | + if(in_array($resourceType,$this->baseTypes)) { |
|
| 208 | 208 | return true; |
| 209 | 209 | } |
| 210 | 210 | return false; |
@@ -300,7 +300,7 @@ discard block |
||
| 300 | 300 | if (array_key_exists($name, $this->resourceTypes)) { |
| 301 | 301 | throw new InvalidOperationException('Type with same name already added'); |
| 302 | 302 | } |
| 303 | - if(null !== $baseType){ |
|
| 303 | + if(null !== $baseType) { |
|
| 304 | 304 | $baseTEntityType = $this->oDataEntityMap[$baseType->getFullName()]; |
| 305 | 305 | $this->baseTypes[] = $baseType; |
| 306 | 306 | } |