Skip to content

Commit f741919

Browse files
committed
Specify array in ClassMetadata type aliases as mixed[]
1 parent e3c5d08 commit f741919

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

stubs/ORM/Mapping/ClassMetadata.stub

+5-5
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace Doctrine\ORM\Mapping;
4242
* nullable?: bool,
4343
* }
4444
* @phpstan-type AssociationMapping = array{
45-
* cache?: array,
45+
* cache?: mixed[],
4646
* cascade: array<string>,
4747
* declared?: class-string,
4848
* fetch: mixed,
@@ -60,15 +60,15 @@ namespace Doctrine\ORM\Mapping;
6060
* isOwningSide: bool,
6161
* joinColumns?: array<JoinColumnData>,
6262
* joinColumnFieldNames?: array<string, string>,
63-
* joinTable?: array,
63+
* joinTable?: mixed[],
6464
* joinTableColumns?: list<mixed>,
6565
* mappedBy: string|null,
66-
* orderBy?: array,
66+
* orderBy?: mixed[],
6767
* originalClass?: class-string,
6868
* originalField?: string,
6969
* orphanRemoval?: bool,
70-
* relationToSourceKeyColumns?: array,
71-
* relationToTargetKeyColumns?: array,
70+
* relationToSourceKeyColumns?: mixed[],
71+
* relationToTargetKeyColumns?: mixed[],
7272
* sourceEntity: class-string,
7373
* sourceToTargetKeyColumns?: array<string, string>,
7474
* targetEntity: class-string,

0 commit comments

Comments
 (0)