Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
25 | public function current() |
||
26 | { |
||
27 | /* @var $symfonyFileInfo \Symfony\Component\Finder\SplFileInfo */ |
||
28 | $symfonyFileInfo = parent::current(); |
||
29 | $originalPath = $symfonyFileInfo->getPathname(); |
||
30 | $newPath = str_replace(DIRECTORY_SEPARATOR, '/', $originalPath); |
||
31 | |||
32 | return new SplFileInfo($newPath); |
||
33 | } |
||
34 | } |
||
35 |