Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stubs/MongoClassMetadataInfo.stub
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use Doctrine\Persistence\Mapping\ClassMetadata as BaseClassMetadata;
use ReflectionClass;

/**
* @template-covariant T of object
* @template T of object
* @template-implements BaseClassMetadata<T>
*/
class ClassMetadata implements BaseClassMetadata
Expand Down
2 changes: 1 addition & 1 deletion stubs/ORM/Mapping/ClassMetadata.stub
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Doctrine\ORM\Mapping;

/**
* @template-covariant T of object
* @template T of object
* @extends ClassMetadataInfo<T>
* @phpstan-type FieldMapping = array{
* type: string,
Expand Down
2 changes: 1 addition & 1 deletion stubs/ORM/Mapping/ClassMetadataInfo.stub
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use Doctrine\Persistence\Mapping\ClassMetadata;
use ReflectionClass;

/**
* @template-covariant T of object
* @template T of object
* @template-implements ClassMetadata<T>
* @phpstan-import-type AssociationMapping from \Doctrine\ORM\Mapping\ClassMetadata
* @phpstan-import-type FieldMapping from \Doctrine\ORM\Mapping\ClassMetadata
Expand Down
2 changes: 1 addition & 1 deletion stubs/Persistence/Mapping/ClassMetadata.stub
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Doctrine\Persistence\Mapping;
use ReflectionClass;

/**
* @template-covariant T of object
* @template T of object
*/
interface ClassMetadata
{
Expand Down
Loading