Skip to content

Commit ba0310e

Browse files
committed
REMOVE: Add phpstan error to verify integration
1 parent 1cb1e3a commit ba0310e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ protected function createConnection(string $dsn, array $config, array $options):
202202
*/
203203
public function ping(): void
204204
{
205-
$this->getMongoClient()->getManager()->selectServer(new ReadPreference(ReadPreference::PRIMARY_PREFERRED));
205+
$this->getMongoClient()->getManager()->selectServer(new ReadPreference(ReadPreference::PRIMARY_PREFERRED), true);
206206
}
207207

208208
/** @inheritdoc */

0 commit comments

Comments
 (0)