Skip to content

Commit

Permalink
Add session to commitOptions in persister
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Dec 19, 2023
1 parent 96c75e8 commit a7de8a8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/Doctrine/ODM/MongoDB/Persisters/DocumentPersister.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,14 @@
*
* @template T of object
*
* @psalm-import-type CommitOptions from UnitOfWork
* @psalm-type CommitOptions array{
* fsync?: bool,
* safe?: int,
* session?: ?Session,
* w?: int,
* withTransaction?: bool,
* writeConcern?: WriteConcern
* }
* @psalm-import-type Hints from UnitOfWork
* @psalm-import-type FieldMapping from ClassMetadata
* @psalm-import-type SortMeta from Sort
Expand Down

0 comments on commit a7de8a8

Please sign in to comment.