Skip to content

Commit

Permalink
Merge 395c0b3 into a450780
Browse files Browse the repository at this point in the history
  • Loading branch information
oradwell committed Dec 11, 2021
2 parents a450780 + 395c0b3 commit 961587a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Locator/ConfigLocator.php
Expand Up @@ -14,6 +14,10 @@ class ConfigLocator
*/
public static function locate($configOption)
{
if (is_null($configOption)) {
$configOption = '';
}

$configurationFile = static::CONFIG_FILENAME;
if (is_dir($configOption)) {
$configurationFile = $configOption . DIRECTORY_SEPARATOR . $configurationFile;
Expand Down
4 changes: 4 additions & 0 deletions src/Model/TestCollection.php
Expand Up @@ -42,21 +42,25 @@ public function __construct(ConfigurationHolder $configurationHolder)
$this->iteratorIterator = new \RecursiveIteratorIterator($this->iterator);
}

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

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

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

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

0 comments on commit 961587a

Please sign in to comment.