Skip to content

Commit

Permalink
Update ClassMetadataInfo.stub
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored and ondrejmirtes committed Dec 30, 2022
1 parent a6310ac commit 442bb84
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion stubs/ORM/Mapping/ClassMetadataInfo.stub
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Doctrine\ORM\Mapping;

use BackedEnum;
use Doctrine\Persistence\Mapping\ClassMetadata;
use ReflectionClass;

Expand All @@ -18,7 +19,7 @@ use ReflectionClass;
* notInsertable?: bool,
* notUpdatable?: bool,
* generated?: int,
* enumType?: class-string<\BackedEnum>,
* enumType?: class-string<BackedEnum>,
* columnDefinition?: string,
* precision?: int,
* scale?: int,
Expand Down Expand Up @@ -77,6 +78,14 @@ use ReflectionClass;
* type: int,
* unique?: bool,
* }
* @psalm-type DiscriminatorColumnMapping = array{
* name: string,
* fieldName: string,
* type: string,
* length?: int,
* columnDefinition?: string|null,
* enumType?: class-string<BackedEnum>|null,
* }
*/
class ClassMetadataInfo implements ClassMetadata
{
Expand Down

0 comments on commit 442bb84

Please sign in to comment.