| @@ -334,7 +334,7 @@ | ||
| 334 | 334 | $str1 = mb_substr($ranges, $p, 1, 'UTF-8'); | 
| 335 | 335 | $str2 = mb_substr($ranges, $p+1, 1, 'UTF-8'); | 
| 336 | 336 | for ($i = mb_ord($str1), | 
| 337 | -                 $last = mb_ord($str2); $i <= $last; $i++) { | |
| 337 | +                    $last = mb_ord($str2); $i <= $last; $i++) { | |
| 338 | 338 |                  if (!isset(self::$s_CharProperties[$i])) { | 
| 339 | 339 | self::$s_CharProperties[$i] = $value; | 
| 340 | 340 | } | 
| @@ -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(), | 
| @@ -61,7 +61,9 @@ | ||
| 61 | 61 | $this->lookup[ExpressionKind::ValueTermReference()->getValue()] = IValueTermReferenceExpression::class; | 
| 62 | 62 | $this->lookup[ExpressionKind::EntitySetReference()->getValue()] = IEntitySetReferenceExpression::class; | 
| 63 | 63 | $this->lookup[ExpressionKind::EnumMemberReference()->getValue()] = IEnumMemberReferenceExpression::class; | 
| 64 | - $this->lookup[ExpressionKind::If()->getValue()] = IIfExpression::class; | |
| 64 | +        $this->lookup[ExpressionKind::If() { | |
| 65 | + ->getValue()] = IIfExpression::class; | |
| 66 | + } | |
| 65 | 67 | $this->lookup[ExpressionKind::AssertType()->getValue()] = IAssertTypeExpression::class; | 
| 66 | 68 | $this->lookup[ExpressionKind::IsType()->getValue()] = IIsTypeExpression::class; | 
| 67 | 69 | $this->lookup[ExpressionKind::FunctionApplication()->getValue()] = IApplyExpression::class; | 
| @@ -1294,7 +1294,7 @@ discard block | ||
| 1294 | 1294 | |
| 1295 | 1295 | // Association Set | 
| 1296 | 1296 | if (!($this->model->GetAssociationSetName($thisEntitySet, $thisNavprop) == | 
| 1297 | - $this->model->GetAssociationSetName($thatEntitySet, $thatNavprop) && | |
| 1297 | + $this->model->GetAssociationSetName($thatEntitySet, $thatNavprop) && | |
| 1298 | 1298 |              $this->model->GetAssociationFullName($thisNavprop) == $this->model->GetAssociationFullName($thatNavprop))) { | 
| 1299 | 1299 | return false; | 
| 1300 | 1300 | } | 
| @@ -1316,7 +1316,7 @@ discard block | ||
| 1316 | 1316 | |
| 1317 | 1317 |          if (null !== $thisOtherEntitySet) { | 
| 1318 | 1318 | if (!($this->model->GetAssociationEndName($thisNavprop->getPartner()) == | 
| 1319 | - $this->model->GetAssociationEndName($thatNavprop->getPartner()) && | |
| 1319 | + $this->model->GetAssociationEndName($thatNavprop->getPartner()) && | |
| 1320 | 1320 |                    $thisOtherEntitySet->getName() == $thatOtherEntitySet->getName())) { | 
| 1321 | 1321 | return false; | 
| 1322 | 1322 | } | 
| @@ -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 | 
| @@ -35,7 +35,7 @@ | ||
| 35 | 35 |      ): iterable { | 
| 36 | 36 | assert( | 
| 37 | 37 | null === $term || $term instanceof ITerm || is_string($term), | 
| 38 | - '$term should be a string or instanceof iTerm' | |
| 38 | + '$term should be a string or instanceof iTerm' | |
| 39 | 39 | ); | 
| 40 | 40 |          if (null === $term) { | 
| 41 | 41 | return $this->processNullVocabularyAnnotationTerm($element); |