Skip to content

Commit 3e60d11

Browse files
committed
Use more specific type hint in data provider
1 parent 56beaa6 commit 3e60d11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/SpecTests/ClientSideEncryption/Prose21_AutomaticDataEncryptionKeysTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace MongoDB\Tests\SpecTests\ClientSideEncryption;
44

5+
use Generator;
56
use MongoDB\BSON\Binary;
67
use MongoDB\Driver\ClientEncryption;
78
use MongoDB\Driver\Exception\BulkWriteException;
@@ -86,7 +87,7 @@ public function testCase1_SimpleCreationAndValidation(string $kmsProvider, ?arra
8687
$this->database->selectCollection($this->getCollectionName())->insertOne(['ssn' => '123-45-6789']);
8788
}
8889

89-
public static function provideKmsProviderAndMasterKey(): iterable
90+
public static function provideKmsProviderAndMasterKey(): Generator
9091
{
9192
yield [
9293
'aws',

0 commit comments

Comments
 (0)