@@ -31,7 +31,7 @@ |
||
| 31 | 31 | return; |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | - if (! EdmUtil::IsNullOrWhiteSpaceInternal($item->getName()) && strlen($item->getName()) <= CsdlConstants::Max_NameLength && strlen($item->getName()) > 0) { |
|
| 34 | + if (!EdmUtil::IsNullOrWhiteSpaceInternal($item->getName()) && strlen($item->getName()) <= CsdlConstants::Max_NameLength && strlen($item->getName()) > 0) { |
|
| 35 | 35 | if (!EdmUtil::IsValidUndottedName($item->getName())) { |
| 36 | 36 | EdmUtil::checkArgumentNull($item->Location(), 'item->Location'); |
| 37 | 37 | $context->AddError( |
@@ -28,8 +28,7 @@ |
||
| 28 | 28 | EdmUtil::checkArgumentNull($functionImport->Location(), 'functionImport->Location'); |
| 29 | 29 | if ($functionImport->getEntitySet() != null && $functionImport->getReturnType() != null) { |
| 30 | 30 | $elementType = $functionImport->getReturnType()->IsCollection() ? |
| 31 | - $functionImport->getReturnType()->AsCollection()->ElementType() : |
|
| 32 | - $functionImport->getReturnType(); |
|
| 31 | + $functionImport->getReturnType()->AsCollection()->ElementType() : $functionImport->getReturnType(); |
|
| 33 | 32 | if ($elementType->IsEntity()) { |
| 34 | 33 | $returnedEntityType = $elementType->AsEntity()->EntityDefinition(); |
| 35 | 34 | |