Skip to content

Commit 1b3d396

Browse files
authored
ENGCOM-7958: #1714: Change access level for metadata model functions to private #29401
2 parents 00f8a8c + b7af9e6 commit 1b3d396

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/MediaGalleryMetadata/Model/Jpeg/ReadFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function __construct(
7676
* @return bool
7777
* @throws FileSystemException
7878
*/
79-
public function isApplicable(string $path): bool
79+
private function isApplicable(string $path): bool
8080
{
8181
$resource = $this->driver->fileOpen($path, 'rb');
8282
try {

app/code/Magento/MediaGalleryMetadata/Model/Png/Segment/WriteXmp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ private function insertPngXmpSegment(array $segments, SegmentInterface $xmpSegme
114114
* @param MetadataInterface $metadata
115115
* @return SegmentInterface
116116
*/
117-
public function createPngXmpSegment(MetadataInterface $metadata): SegmentInterface
117+
private function createPngXmpSegment(MetadataInterface $metadata): SegmentInterface
118118
{
119119
$xmpData = $this->xmpTemplate->get();
120120
return $this->segmentFactory->create([

0 commit comments

Comments
 (0)