diff --git a/tests/OffsetAdapterTest.php b/tests/OffsetAdapterTest.php index c3faaf1..9001230 100644 --- a/tests/OffsetAdapterTest.php +++ b/tests/OffsetAdapterTest.php @@ -327,6 +327,7 @@ public function testFromCallbackCreatesAdapterWithCallbackSource(): void if ($startIndex >= count($data)) { yield from []; + return; }