Skip to content

Commit 11621f5

Browse files
committed
Make lazy BSON classes final
1 parent 18a5f2a commit 11621f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Model/LazyBSONArray.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
* @template-implements ArrayAccess<int, TValue>
5252
* @template-implements IteratorAggregate<int, TValue>
5353
*/
54-
class LazyBSONArray implements ArrayAccess, IteratorAggregate
54+
final class LazyBSONArray implements ArrayAccess, IteratorAggregate
5555
{
5656
/** @var PackedArray<TValue> */
5757
private PackedArray $bson;

src/Model/LazyBSONDocument.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
* @template-implements ArrayAccess<string, TValue>
5151
* @template-implements IteratorAggregate<string, TValue>
5252
*/
53-
class LazyBSONDocument implements ArrayAccess, IteratorAggregate
53+
final class LazyBSONDocument implements ArrayAccess, IteratorAggregate
5454
{
5555
/** @var Document<TValue> */
5656
private Document $bson;

0 commit comments

Comments
 (0)