src/File/RenameUpload.php
protected function fixCaseInsensitiveFilename($finalTarget)
    {
        $targetFile = basename($finalTarget);

        if ($this->isCaseInsensitiveFilename()) {
            $finalTarget = str_replace(
                $targetFile, StringUtils::lower($targetFile), $finalTarget
            );
        }

        return $finalTarget;
    }
protected function fixCaseInsensitiveFilename($finalTarget)
    {
        $targetFile = basename($finalTarget);

        if ($this->isCaseInsensitiveFilename()) {
            $finalTarget = str_replace(
                $targetFile, StringUtils::lower($targetFile), $finalTarget
            );
        }

        return $finalTarget;
    }
protected function fixCaseInsensitiveFilename ( $ finalTarget ) { $ targetFile = basename ( $ finalTarget ) ; if ( $ this -> isCaseInsensitiveFilename ( ) ) { $ finalTarget = str_replace ( $ targetFile , StringUtils :: lower ( $ targetFile ) , $ finalTarget ) ; } return $ finalTarget ; }
Fix case-insensitive filename.

@param string $finalTarget

@return string
Fix case - insensitive filename .