From 9aaf61d2207d8cc5bc1c00a5abf897ef7e261f24 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 13 Oct 2020 17:48:37 +0200 Subject: [PATCH] CachingIterator - Add forgotten constructor parameter. (#4322) Signed-off-by: Pol Dellaiera --- stubs/CoreGenericClasses.phpstub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/CoreGenericClasses.phpstub b/stubs/CoreGenericClasses.phpstub index 2a131d2f9..fd2b03aa5 100644 --- a/stubs/CoreGenericClasses.phpstub +++ b/stubs/CoreGenericClasses.phpstub @@ -218,7 +218,7 @@ class CachingIterator extends IteratorIterator implements OuterIterator , ArrayA /** * @param Iterator $iterator */ - public function __construct(Iterator $iterator) {} + public function __construct(Iterator $iterator, int $flags = self::CALL_TOSTRING) {} /** @return bool */ public function hasNext () {}