/var/www/vhosts/ihelp.ro/httpdocs/vendor/psy/psysh/src/Readline/Hoa
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/psy/psysh/src/Readline/Hoa/IteratorFileSystem.php (2810B)
_splFileInfoClass = $splFileInfoClass;
if (null === $flags) {
parent::__construct($path);
} else {
parent::__construct($path, $flags);
}
return;
}
/**
* Current.
* Please, see \FileSystemIterator::current() method.
*/
#[\ReturnTypeWillChange]
public function current()
{
$out = parent::current();
if (null !== $this->_splFileInfoClass &&
$out instanceof \SplFileInfo) {
$out->setInfoClass($this->_splFileInfoClass);
$out = $out->getFileInfo();
}
return $out;
}
}