diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 133459e37ba..cb7ff955b29 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -19,12 +19,12 @@ final class VersionResolver * @api * @var string */ - public const PACKAGE_VERSION = '9fa1da9262ceb06912363981629a03e8666e9bce'; + public const PACKAGE_VERSION = '33655134e27ea56c99a01e159425d1f358c0b4a0'; /** * @api * @var string */ - public const RELEASE_DATE = '2024-06-30 19:49:05'; + public const RELEASE_DATE = '2024-06-30 20:01:23'; /** * @var int */ diff --git a/src/NodeTypeResolver/NodeTypeResolver.php b/src/NodeTypeResolver/NodeTypeResolver.php index ea80bdab5ab..831fba0fb3d 100644 --- a/src/NodeTypeResolver/NodeTypeResolver.php +++ b/src/NodeTypeResolver/NodeTypeResolver.php @@ -13,8 +13,6 @@ use PhpParser\Node\Expr\NullsafeMethodCall; use PhpParser\Node\Expr\StaticCall; use PhpParser\Node\Expr\Ternary; -use PhpParser\Node\Name; -use PhpParser\Node\Name\FullyQualified; use PhpParser\Node\NullableType; use PhpParser\Node\Scalar\String_; use PhpParser\Node\UnionType as NodeUnionType; @@ -143,9 +141,6 @@ public function isObjectType(Node $node, ObjectType $requiredObjectType) : bool } public function getType(Node $node) : Type { - if ($node instanceof Name && $node->hasAttribute(AttributeKey::NAMESPACED_NAME)) { - return $this->getType(new FullyQualified($node->getAttribute(AttributeKey::NAMESPACED_NAME))); - } if ($node instanceof NullableType) { $type = $this->getType($node->type); if (!$type instanceof MixedType) {