@@ -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() || null === $annotation->targetString(); |
|
22 | + EdmVocabularyAnnotationSerializationLocation::Inline() || null === $annotation->targetString(); |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | public function targetString(): string |
@@ -1298,7 +1298,7 @@ discard block |
||
1298 | 1298 | |
1299 | 1299 | // Association Set |
1300 | 1300 | if (!($this->model->getAssociationSetName($thisEntitySet, $thisNavprop) == |
1301 | - $this->model->getAssociationSetName($thatEntitySet, $thatNavprop) && |
|
1301 | + $this->model->getAssociationSetName($thatEntitySet, $thatNavprop) && |
|
1302 | 1302 | $this->model->getAssociationFullName($thisNavprop) == $this->model->getAssociationFullName($thatNavprop))) { |
1303 | 1303 | return false; |
1304 | 1304 | } |
@@ -1320,7 +1320,7 @@ discard block |
||
1320 | 1320 | |
1321 | 1321 | if (null !== $thisOtherEntitySet) { |
1322 | 1322 | if (!($this->model->getAssociationEndName($thisNavprop->getPartner()) == |
1323 | - $this->model->getAssociationEndName($thatNavprop->getPartner()) && |
|
1323 | + $this->model->getAssociationEndName($thatNavprop->getPartner()) && |
|
1324 | 1324 | $thisOtherEntitySet->getName() == $thatOtherEntitySet->getName())) { |
1325 | 1325 | return false; |
1326 | 1326 | } |