Skip to content

Commit 9d7cdbc

Browse files
committed
Fix getDefaultKmsProvider method name (#2784)
1 parent 4776dcf commit 9d7cdbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Doctrine/ODM/MongoDB/SchemaManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ public function dropDocumentCollection(string $documentName, ?int $maxTimeMs = n
704704
// we don't check if the class metadata has encrypted fields, because
705705
// that does not mean that the existing collection is encrypted or not.
706706
// "esc" and "ecoc" collections cannot be configured
707-
if ($this->dm->getConfiguration()->getKmsProvider()) {
707+
if ($this->dm->getConfiguration()->getDefaultKmsProvider()) {
708708
$options['encryptedFields'] = [];
709709
}
710710

0 commit comments

Comments
 (0)