Code Duplication    Length = 3-3 lines in 2 locations

typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 2 locations

@@ 4576-4578 (lines=3) @@
4573
                $fileObject = $file;
4574
            } elseif ($file instanceof FileReference) {
4575
                $fileObject = $file->getOriginalFile();
4576
                if (!isset($fileArray['crop'])) {
4577
                    $fileArray['crop'] = $this->getCropArea($file, $fileArray['cropVariant'] ?: 'default');
4578
                }
4579
            } else {
4580
                try {
4581
                    if ($fileArray['import.']) {
@@ 4593-4595 (lines=3) @@
4590
                        if (!empty($treatIdAsReference)) {
4591
                            $fileReference = $this->getResourceFactory()->getFileReferenceObject($file);
4592
                            $fileObject = $fileReference->getOriginalFile();
4593
                            if (!isset($fileArray['crop'])) {
4594
                                $fileArray['crop'] = $this->getCropArea($fileReference, $fileArray['cropVariant'] ?: 'default');
4595
                            }
4596
                        } else {
4597
                            $fileObject = $this->getResourceFactory()->getFileObject($file);
4598
                        }