src/Contao/View/Contao2BackendView/Widget/FileTree.php
protected function renderFileInfo(File $file)
    {
        return \sprintf(
            '%s <span class="tl_gray">(%s%s)</span>',
            $file->path,
            static::getReadableSize($file->size),
            (($file->isGdImage || $file->isSvgImage) ? ', ' . $file->width . 'x' . $file->height . ' px' : '')
        );
    }
protected function renderFileInfo(File $file)
    {
        return \sprintf(
            '%s <span class="tl_gray">(%s%s)</span>',
            $file->path,
            static::getReadableSize($file->size),
            (($file->isGdImage || $file->isSvgImage) ? ', ' . $file->width . 'x' . $file->height . ' px' : '')
        );
    }
protected function renderFileInfo ( File $ file ) { return \ sprintf ( '%s <span class="tl_gray">(%s%s)</span>' , $ file -> path , static :: getReadableSize ( $ file -> size ) , ( ( $ file -> isGdImage || $ file -> isSvgImage ) ? ', ' . $ file -> width . 'x' . $ file -> height . ' px' : '' ) ) ; }
Render the file info.

@param File $file The file.

@return string
Render the file info .