Skip to content

Commit e9887be

Browse files
committed
Update stubs
1 parent 509ccf2 commit e9887be

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

stubs/ext/spl/AppendIterator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function current()
2525
public function next()
2626
{
2727
}
28-
/** @return int */
28+
/** @return int|null */
2929
public function getIteratorIndex()
3030
{
3131
}

stubs/ext/spl/EmptyIterator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
/** @generate-function-entries */
44
class EmptyIterator implements \Iterator
55
{
6-
/** @return void */
6+
/** @return mixed */
77
public function current()
88
{
99
}
1010
/** @return void */
1111
public function next()
1212
{
1313
}
14-
/** @return void */
14+
/** @return mixed */
1515
public function key()
1616
{
1717
}

stubs/ext/spl/OuterIterator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
interface OuterIterator extends \Iterator
44
{
5-
/** @return Iterator */
5+
/** @return Iterator|null */
66
public function getInnerIterator();
77
}

0 commit comments

Comments
 (0)