Compatibility fixes after 791d61f58c
This commit is contained in:
parent
d5ef7ed33f
commit
5bd04c49fd
|
@ -42,7 +42,7 @@ interface IteratorAggregate extends Traversable
|
|||
/**
|
||||
* Retrieve an external iterator
|
||||
* @link https://php.net/manual/en/iteratoraggregate.getiterator.php
|
||||
* @return Traversable<TKey, TValue> An instance of an object implementing <b>Iterator</b> or
|
||||
* @return Traversable<TKey, TValue>|TValue[] An instance of an object implementing <b>Iterator</b> or
|
||||
* <b>Traversable</b>
|
||||
* @throws Exception on failure.
|
||||
*/
|
||||
|
|
|
@ -176,7 +176,7 @@ namespace {
|
|||
|
||||
/**
|
||||
* Returns whatever was passed to yield or null if nothing was passed or the generator is already closed.
|
||||
* @return TYield|null
|
||||
* @return TYield
|
||||
*/
|
||||
public function current(): mixed {}
|
||||
|
||||
|
@ -203,7 +203,7 @@ namespace {
|
|||
/**
|
||||
* Throws an exception at the current suspension point in the generator.
|
||||
* @param Throwable $exception
|
||||
* @return TYield|null
|
||||
* @return TYield
|
||||
*/
|
||||
public function PS_UNRESERVE_PREFIX_throw(Throwable $exception): mixed {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue