Completed
Push — master ( 545d0c...af13d1 )
by diego
03:19
created

Classes/Service/FileService.php (2 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
namespace HDNET\Importr\Service;
4
5
use TYPO3\CMS\Core\Utility\GeneralUtility;
6
7
/**
8
 * FileService
9
 */
10
class FileService
11
{
12
    /**
13
     * @param string $filename
14
     * @param bool $onlyRelative
15
     * @param bool $relToTYPO3_mainDir
16
     * @return string
17
     */
18
    public function getFileAbsFileName($filename, $onlyRelative = true, $relToTYPO3_mainDir = false)
0 ignored issues
show
The parameter $onlyRelative is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
The parameter $relToTYPO3_mainDir is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
19
    {
20
        return GeneralUtility::getFileAbsFileName($filename, $onlyRelative = true, $relToTYPO3_mainDir = false);
21
    }
22
}
23