Skip to content

Commit cb9c326

Browse files
committed
Use FQN for constant in documentation examples
1 parent f85d755 commit cb9c326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/DocumentationExamplesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1711,7 +1711,7 @@ public function testVersionedApiMigration(): void
17111711
try {
17121712
$count = $db->sales->count();
17131713
} catch (\MongoDB\Driver\Exception\CommandException $e) {
1714-
echo json_encode($e->getResultDocument(), JSON_THROW_ON_ERROR);
1714+
echo json_encode($e->getResultDocument(), \JSON_THROW_ON_ERROR);
17151715
// { "ok": 0, "errmsg": "Provided apiStrict:true, but the command count is not in API Version 1", "code": 323, "codeName": "APIStrictError" }
17161716
}
17171717

0 commit comments

Comments
 (0)