/**
* @inheritDoc
*/
+ #[\ReturnTypeWillChange]
public function current()
{
$objectID = $this->indexToObject[$this->index];
*
* @see \Iterator::key()
*/
+ #[\ReturnTypeWillChange]
public function key()
{
return $this->indexToObject[$this->index];
/**
* @inheritDoc
*/
- public function next()
+ public function next(): void
{
$this->index++;
}
/**
* @inheritDoc
*/
- public function rewind()
+ public function rewind(): void
{
$this->index = 0;
}
/**
* @inheritDoc
*/
- public function valid()
+ public function valid(): bool
{
return isset($this->indexToObject[$this->index]);
}
/**
* @inheritDoc
*/
- public function seek($offset)
+ public function seek($offset): void
{
$this->index = $offset;
/**
* @inheritDoc
*/
+ #[\ReturnTypeWillChange]
public function current()
{
$objectID = $this->indexToObject[$this->index];
*
* @inheritDoc
*/
+ #[\ReturnTypeWillChange]
public function key()
{
return $this->indexToObject[$this->index];
/**
* @inheritDoc
*/
- public function next()
+ public function next(): void
{
$this->index++;
}
/**
* @inheritDoc
*/
- public function rewind()
+ public function rewind(): void
{
$this->index = 0;
}
/**
* @inheritDoc
*/
- public function valid()
+ public function valid(): bool
{
return isset($this->indexToObject[$this->index]);
}
/**
* @inheritDoc
*/
- public function seek($offset)
+ public function seek($offset): void
{
$this->index = $offset;
* @inheritDoc
* @return Smiley
*/
+ #[\ReturnTypeWillChange]
public function current()
{
$objectID = $this->indexToObject[$this->index];
*
* @see \Iterator::key()
*/
+ #[\ReturnTypeWillChange]
public function key()
{
return $this->indexToObject[$this->index];
/**
* @inheritDoc
*/
- public function next()
+ public function next(): void
{
$this->index++;
}
/**
* @inheritDoc
*/
- public function rewind()
+ public function rewind(): void
{
$this->index = 0;
}
/**
* @inheritDoc
*/
- public function valid()
+ public function valid(): bool
{
return isset($this->indexToObject[$this->index]);
}
/**
* @inheritDoc
*/
- public function seek($offset)
+ public function seek($offset): void
{
$this->index = $offset;