Skip to content

Commit

Permalink
fixup! cleanup object type specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jun 28, 2024
1 parent 4a05131 commit 3d3ae97
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions rules/TypeDeclaration/PHPStan/ObjectTypeSpecifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,6 @@ public function narrowToFullyQualifiedOrAliasedObjectType(
}

$uses = $this->useImportsResolver->resolve();
// if ($uses === []) {
//// if (! $this->reflectionProvider->hasClass($objectType->getClassName())) {
//// return new NonExistingObjectType($objectType->getClassName());
//// }
////
//// return new FullyQualifiedObjectType(
//// $objectType->getClassName(),
//// null,
///
//// $objectType->getClassReflection()
//// );
// }

$aliasedObjectType = $this->matchAliasedObjectType($objectType, $uses);
if ($aliasedObjectType instanceof AliasedObjectType) {
Expand Down

0 comments on commit 3d3ae97

Please sign in to comment.