From 77b3962b94cf6beb27deb802683ba4c872f79f01 Mon Sep 17 00:00:00 2001 From: "William Owen O. Ponce" Date: Mon, 31 Oct 2022 23:09:07 +0800 Subject: [PATCH] Fix typo --- stubs/CoreGenericIterators.phpstub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs/CoreGenericIterators.phpstub b/stubs/CoreGenericIterators.phpstub index c20e54de882..beee41f8b0c 100644 --- a/stubs/CoreGenericIterators.phpstub +++ b/stubs/CoreGenericIterators.phpstub @@ -353,7 +353,7 @@ class CachingIterator extends IteratorIterator implements OuterIterator , ArrayA const TOSTRING_USE_CURRENT = 4 ; const TOSTRING_USE_INNER = 8 ; const FULL_CACHE = 256 ; - + /** * @param Iterator $iterator * @param int-mask-of $flags @@ -561,7 +561,7 @@ class LimitIterator extends IteratorIterator implements OuterIterator { /** * @param Iterator $iterator */ - public function __construct(Iterator $iterator, int $offset = 0, int $count = -1) {} + public function __construct(Iterator $iterator, int $offset = 0, int $limit = -1) {} /** * @return TValue|null current value or null when iterator is drained