diff --git a/tests/unit/TypeTest.php b/tests/unit/TypeTest.php index 8f637c2..1619617 100644 --- a/tests/unit/TypeTest.php +++ b/tests/unit/TypeTest.php @@ -73,7 +73,7 @@ public function namesToTypes(): array 'resource' => ['resource', false, new SimpleType('resource', false)], 'resource (closed)' => ['resource (closed)', false, new SimpleType('resource (closed)', false)], 'unknown type' => ['unknown type', false, new UnknownType], - '?object' => [\stdClass::class, true, new ObjectType(TypeName::fromQualifiedName(\stdClass::class), true)], + '?classname' => [\stdClass::class, true, new ObjectType(TypeName::fromQualifiedName(\stdClass::class), true)], 'classname' => [\stdClass::class, false, new ObjectType(TypeName::fromQualifiedName(\stdClass::class), false)], 'callable' => ['callable', false, new CallableType(false)], '?callable' => ['callable', true, new CallableType(true)],