Skip to content

Commit c479861

Browse files
committed
AC-13306::Adobe Commerce 2.4.8 core code is compatible with PHP 8.4
1 parent 1f4281c commit c479861

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

AdobeStockImage/Model/Storage/Save.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,12 @@ public function __construct(
7575
public function execute(string $imageUrl, string $destinationPath, bool $allowOverwrite = false): void
7676
{
7777
if (strlen($destinationPath) > $this->maxFileLength) {
78-
throw new LocalizedException(__('Destination Path is too long; must be %1 characters or less', $this->maxFileLength));
78+
throw new LocalizedException(
79+
__(
80+
'Destination Path is too long; must be %1 characters or less',
81+
$this->maxFileLength
82+
)
83+
);
7984
}
8085

8186
$mediaDirectory = $this->filesystem->getDirectoryWrite(DirectoryList::MEDIA);

0 commit comments

Comments
 (0)