Skip to content

Commit ccde4f6

Browse files
committed
AC-15338::Changed postion of public function to botoom of file
1 parent 631d9d4 commit ccde4f6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

app/code/Magento/MediaGalleryRenditions/Model/GenerateRenditions.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,6 @@ class GenerateRenditions implements GenerateRenditionsInterface
2626
{
2727
private const IMAGE_FILE_NAME_PATTERN = '#\.(jpg|jpeg|gif|png)$# i';
2828

29-
/**
30-
* Get image file name pattern for validation
31-
*
32-
* @return string
33-
*/
34-
public function getImageFileNamePattern(): string
35-
{
36-
return self::IMAGE_FILE_NAME_PATTERN;
37-
}
38-
3929
/**
4030
* @var AdapterFactory
4131
*/
@@ -232,4 +222,14 @@ private function getMediaDirectory(): WriteInterface
232222
{
233223
return $this->filesystem->getDirectoryWrite(DirectoryList::MEDIA);
234224
}
225+
226+
/**
227+
* Get image file name pattern for validation
228+
*
229+
* @return string
230+
*/
231+
public function getImageFileNamePattern(): string
232+
{
233+
return self::IMAGE_FILE_NAME_PATTERN;
234+
}
235235
}

0 commit comments

Comments
 (0)