@@ -28,10 +28,10 @@ |
||
| 28 | 28 | if (!$context->checkIsBad($enumMember->getDeclaringType()) && |
| 29 | 29 | !$context->checkIsBad($enumMember->getDeclaringType()->getUnderlyingType()) && |
| 30 | 30 | !ExpressionTypeChecker::TryAssertPrimitiveAsType( |
| 31 | - $enumMember->getValue(), |
|
| 32 | - EdmTypeSemantics::GetPrimitiveTypeReference($enumMember->getDeclaringType()->getUnderlyingType(), false), |
|
| 33 | - $discoveredErrors |
|
| 34 | - )) { |
|
| 31 | + $enumMember->getValue(), |
|
| 32 | + EdmTypeSemantics::GetPrimitiveTypeReference($enumMember->getDeclaringType()->getUnderlyingType(), false), |
|
| 33 | + $discoveredErrors |
|
| 34 | + )) { |
|
| 35 | 35 | EdmUtil::checkArgumentNull($enumMember->Location(), 'enumMember->Location'); |
| 36 | 36 | $context->AddError( |
| 37 | 37 | $enumMember->Location(), |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | /** @var IVocabularyAnnotation $annotation */ |
| 20 | 20 | $annotation = $this; |
| 21 | 21 | return $annotation->GetSerializationLocation($model) == |
| 22 | - EdmVocabularyAnnotationSerializationLocation::Inline || $annotation->TargetString() == null; |
|
| 22 | + EdmVocabularyAnnotationSerializationLocation::Inline || $annotation->TargetString() == null; |
|
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | public function TargetString(): string |