We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f4281c commit c479861Copy full SHA for c479861
AdobeStockImage/Model/Storage/Save.php
@@ -75,7 +75,12 @@ public function __construct(
75
public function execute(string $imageUrl, string $destinationPath, bool $allowOverwrite = false): void
76
{
77
if (strlen($destinationPath) > $this->maxFileLength) {
78
- throw new LocalizedException(__('Destination Path is too long; must be %1 characters or less', $this->maxFileLength));
+ throw new LocalizedException(
79
+ __(
80
+ 'Destination Path is too long; must be %1 characters or less',
81
+ $this->maxFileLength
82
+ )
83
+ );
84
}
85
86
$mediaDirectory = $this->filesystem->getDirectoryWrite(DirectoryList::MEDIA);
0 commit comments