Skip to content

Commit 48889a9

Browse files
committed
Split document creation for legibility
1 parent bdf1191 commit 48889a9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/Collection/CodecCollectionFunctionalTest.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,11 @@ private static function createFixtureResult(int $id): BSONDocument
523523

524524
private static function createObjectFixtureResult(int $id, bool $isInserted = false): BSONDocument
525525
{
526-
return new BSONDocument(['_id' => $isInserted ? null : $id, 'id' => $id, 'x' => new BSONDocument(['foo' => 'bar']), 'decoded' => false]);
526+
return new BSONDocument([
527+
'_id' => $isInserted ? null : $id,
528+
'id' => $id,
529+
'x' => new BSONDocument(['foo' => 'bar']),
530+
'decoded' => false,
531+
]);
527532
}
528533
}

0 commit comments

Comments
 (0)