Fix some more ext/spl return types

Closes GH-7242
This commit is contained in:
Máté Kocsis 2021-07-14 18:11:40 +02:00
parent c6b7f6c39f
commit fc6656e0ac
No known key found for this signature in database
GPG key ID: FD055E41728BF310
2 changed files with 5 additions and 5 deletions

View file

@ -4,13 +4,13 @@
class EmptyIterator implements Iterator
{
/** @return void */
/** @return mixed */
public function current() {}
/** @return void */
public function next() {}
/** @return void */
/** @return mixed */
public function key() {}
/** @return bool */
@ -109,7 +109,7 @@ class RecursiveIteratorIterator implements OuterIterator
interface OuterIterator extends Iterator
{
/** @return Iterator */
/** @return Iterator|null */
public function getInnerIterator();
}
@ -303,7 +303,7 @@ class AppendIterator extends IteratorIterator
/** @return void */
public function next() {}
/** @return int */
/** @return int|null */
public function getIteratorIndex() {}
/** @return ArrayIterator */

View file

@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: da35c3e48b3a09f5f013fdd760ddab6bdfb37967 */
* Stub hash: a56f02ad7b9578713f0d37b2cf3d95853a4ea45e */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_EmptyIterator_current, 0, 0, 0)
ZEND_END_ARG_INFO()