Skip to content

Commit 4a30f62

Browse files
committed
Remove duplicate array shape
DiscriminatorColumnMapping is just a specialization of the array shape that is right of the pipe: it has the same fields, except fewer fields are nullable. The union of that is the same thing as the array shape.
1 parent aec3556 commit 4a30f62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3131,7 +3131,7 @@ public function addEntityListener($eventName, $class, $method)
31313131
* @see getDiscriminatorColumn()
31323132
*
31333133
* @param mixed[]|null $columnDef
3134-
* @psalm-param DiscriminatorColumnMapping|array{name: string|null, fieldName?: string, type?: string, length?: int, columnDefinition?: string|null, enumType?: class-string<BackedEnum>|null}|null $columnDef
3134+
* @psalm-param array{name: string|null, fieldName?: string, type?: string, length?: int, columnDefinition?: string|null, enumType?: class-string<BackedEnum>|null}|null $columnDef
31353135
*
31363136
* @return void
31373137
*

0 commit comments

Comments
 (0)