Skip to content

Commit

Permalink
Specify array in ClassMetadata type aliases as mixed[]
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed May 11, 2023
1 parent e3c5d08 commit f741919
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions stubs/ORM/Mapping/ClassMetadata.stub
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace Doctrine\ORM\Mapping;
* nullable?: bool,
* }
* @phpstan-type AssociationMapping = array{
* cache?: array,
* cache?: mixed[],
* cascade: array<string>,
* declared?: class-string,
* fetch: mixed,
Expand All @@ -60,15 +60,15 @@ namespace Doctrine\ORM\Mapping;
* isOwningSide: bool,
* joinColumns?: array<JoinColumnData>,
* joinColumnFieldNames?: array<string, string>,
* joinTable?: array,
* joinTable?: mixed[],
* joinTableColumns?: list<mixed>,
* mappedBy: string|null,
* orderBy?: array,
* orderBy?: mixed[],
* originalClass?: class-string,
* originalField?: string,
* orphanRemoval?: bool,
* relationToSourceKeyColumns?: array,
* relationToTargetKeyColumns?: array,
* relationToSourceKeyColumns?: mixed[],
* relationToTargetKeyColumns?: mixed[],
* sourceEntity: class-string,
* sourceToTargetKeyColumns?: array<string, string>,
* targetEntity: class-string,
Expand Down

0 comments on commit f741919

Please sign in to comment.