@@ -53,7 +53,7 @@ public function getChildren();
53
53
54
54
class RecursiveIteratorIterator implements OuterIterator
55
55
{
56
- public function __construct (Traversable $ iterator , int $ mode = self ::LEAVES_ONLY , int $ flags = 0 ) {}
56
+ public function __construct (Traversable $ iterator , int $ mode = RecursiveIteratorIterator ::LEAVES_ONLY , int $ flags = 0 ) {}
57
57
58
58
/** @return void */
59
59
public function rewind () {}
@@ -200,7 +200,7 @@ public function getPosition() {}
200
200
201
201
class CachingIterator extends IteratorIterator implements ArrayAccess, Countable
202
202
{
203
- public function __construct (Iterator $ iterator , int $ flags = self ::CALL_TOSTRING ) {}
203
+ public function __construct (Iterator $ iterator , int $ flags = CachingIterator ::CALL_TOSTRING ) {}
204
204
205
205
/** @return void */
206
206
public function rewind () {}
@@ -255,7 +255,7 @@ public function count() {}
255
255
256
256
class RecursiveCachingIterator extends CachingIterator implements RecursiveIterator
257
257
{
258
- public function __construct (Iterator $ iterator , int $ flags = self ::CALL_TOSTRING ) {}
258
+ public function __construct (Iterator $ iterator , int $ flags = RecursiveCachingIterator ::CALL_TOSTRING ) {}
259
259
260
260
/** @return bool */
261
261
public function hasChildren () {}
@@ -320,7 +320,7 @@ public function next() {}
320
320
321
321
class RegexIterator extends FilterIterator
322
322
{
323
- public function __construct (Iterator $ iterator , string $ pattern , int $ mode = self ::MATCH , int $ flags = 0 , int $ pregFlags = 0 ) {}
323
+ public function __construct (Iterator $ iterator , string $ pattern , int $ mode = RegexIterator ::MATCH , int $ flags = 0 , int $ pregFlags = 0 ) {}
324
324
325
325
/** @return bool */
326
326
public function accept () {}
@@ -349,7 +349,7 @@ public function setPregFlags(int $pregFlags) {}
349
349
350
350
class RecursiveRegexIterator extends RegexIterator implements RecursiveIterator
351
351
{
352
- public function __construct (RecursiveIterator $ iterator , string $ pattern , int $ mode = self ::MATCH , int $ flags = 0 , int $ pregFlags = 0 ) {}
352
+ public function __construct (RecursiveIterator $ iterator , string $ pattern , int $ mode = RecursiveRegexIterator ::MATCH , int $ flags = 0 , int $ pregFlags = 0 ) {}
353
353
354
354
/** @return bool */
355
355
public function accept () {}
@@ -369,9 +369,9 @@ class RecursiveTreeIterator extends RecursiveIteratorIterator
369
369
/** @param RecursiveIterator|IteratorAggregate $iterator */
370
370
public function __construct (
371
371
$ iterator ,
372
- int $ flags = self ::BYPASS_KEY ,
372
+ int $ flags = RecursiveTreeIterator ::BYPASS_KEY ,
373
373
int $ cachingIteratorFlags = CachingIterator::CATCH_GET_CHILD ,
374
- int $ mode = self ::SELF_FIRST
374
+ int $ mode = RecursiveTreeIterator ::SELF_FIRST
375
375
) {}
376
376
377
377
/** @return mixed */
0 commit comments