Skip to content

Commit

Permalink
Merge pull request #10418 from greg0ire/unique-bool
Browse files Browse the repository at this point in the history
Use correct type for FieldMapping#unique
  • Loading branch information
greg0ire authored Jan 18, 2023
2 parents 4f335ab + f88b003 commit a83e4f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
* columnDefinition?: string,
* precision?: int,
* scale?: int,
* unique?: string,
* unique?: bool,
* inherited?: class-string,
* originalClass?: class-string,
* originalField?: string,
Expand Down Expand Up @@ -556,7 +556,7 @@ class ClassMetadataInfo implements ClassMetadata
* - <b>scale</b> (integer, optional, schema-only)
* The scale of a decimal column. Only valid if the column type is decimal.
*
* - <b>'unique'</b> (string, optional, schema-only)
* - <b>'unique'</b> (boolean, optional, schema-only)
* Whether a unique constraint should be generated for the column.
*
* - <b>'inherited'</b> (string, optional)
Expand Down

0 comments on commit a83e4f7

Please sign in to comment.