Skip to content

Commit

Permalink
Keep PHP 7.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
oradwell committed Dec 11, 2021
1 parent e6c57fb commit 395c0b3
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/Model/TestCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,30 +42,26 @@ public function __construct(ConfigurationHolder $configurationHolder)
$this->iteratorIterator = new \RecursiveIteratorIterator($this->iterator);
}

/**
* @return mixed
*/
#[\ReturnTypeWillChange]
public function current()
{
return $this->iteratorIterator->current();
}

/**
* @return mixed
*/
#[\ReturnTypeWillChange]
public function key()
{
return $this->iteratorIterator->key();
}

public function next(): void
#[\ReturnTypeWillChange]
public function next()
{
$this->iteratorIterator->next();
}

public function rewind(): void
#[\ReturnTypeWillChange]
public function rewind()
{
$this->iteratorIterator->rewind();
}
Expand Down

0 comments on commit 395c0b3

Please sign in to comment.