@@ -26,7 +26,7 @@ |
||
| 26 | 26 | foreach ($context->getModel()->getDirectValueAnnotationsManager()->getDirectValueAnnotations($item) as $annotation) { |
| 27 | 27 | assert($annotation instanceof IDirectValueAnnotation); |
| 28 | 28 | EdmUtil::checkArgumentNull($annotation->location(), 'annotation->Location'); |
| 29 | - if (! $annotationNameSet->add($annotation->getNamespaceUri() . ':' . $annotation->getName())) { |
|
| 29 | + if (!$annotationNameSet->add($annotation->getNamespaceUri() . ':' . $annotation->getName())) { |
|
| 30 | 30 | EdmUtil::checkArgumentNull($annotation->location(), 'annotation->Location'); |
| 31 | 31 | $context->addError( |
| 32 | 32 | $annotation->location(), |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | ); |
| 29 | 29 | |
| 30 | 30 | if (null !== $type->getBaseType()) { |
| 31 | - $visitedTypes = new HashSetInternal(); |
|
| 31 | + $visitedTypes = new HashSetInternal(); |
|
| 32 | 32 | $visitedTypes->add($type); |
| 33 | 33 | /** @var IStructuredType|null $currentBaseType */ |
| 34 | 34 | for ($currentBaseType = $type->getBaseType(); null !== $currentBaseType; $currentBaseType = $currentBaseType->getBaseType() |