@@ -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() |