Skip to content

Commit 5b388bb

Browse files
Cari SpruiellOlga Kopylova
authored andcommitted
MAGETWO-47651: Remi PHP 7.0.1 failure on L1 Magento\Framework\Phrase
- make second parameter an array
1 parent 6eeeebb commit 5b388bb

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/Archive

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Archive/Zip.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function __construct()
2121
$type = 'Zip';
2222
if (!class_exists('\ZipArchive')) {
2323
throw new \Magento\Framework\Exception\LocalizedException(
24-
new \Magento\Framework\Phrase('\'%1\' file extension is not supported', $type)
24+
new \Magento\Framework\Phrase('\'%1\' file extension is not supported', [$type])
2525
);
2626
}
2727
}

0 commit comments

Comments
 (0)