Skip to content

Commit

Permalink
allow Index on properties
Browse files Browse the repository at this point in the history
  • Loading branch information
IonBazan committed Aug 10, 2021
1 parent 7fefdbc commit 3674d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ODM/MongoDB/Mapping/Annotations/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @Annotation
* @NamedArgumentConstructor
*/
#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]
#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
final class Index extends AbstractIndex
{
}

0 comments on commit 3674d12

Please sign in to comment.