Skip to content

Commit b549d97

Browse files
committed
Make result final
1 parent 9797b47 commit b549d97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/seal/src/Search/Result.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* @extends \IteratorIterator<int, array<string, mixed>, \Generator>
1818
*/
19-
class Result extends \IteratorIterator
19+
final class Result extends \IteratorIterator
2020
{
2121
/**
2222
* @param \Generator<int, array<string, mixed>> $documents
@@ -35,7 +35,7 @@ public function total(): int
3535

3636
public static function empty(): static
3737
{
38-
return new static((static function (): \Generator {
38+
return new self((static function (): \Generator {
3939
yield from [];
4040
})(), 0);
4141
}

0 commit comments

Comments
 (0)