Skip to content

Commit 781e666

Browse files
authored
Merge pull request #1 from magento-gl/PHP8.5_deprecation_fixes
Fixed PHP8.5 deprecation error
2 parents 0d48804 + 47ba04d commit 781e666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/Zend/Memory/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public function __construct($backend = null)
169169

170170
$memoryLimitStr = trim(ini_get('memory_limit'));
171171
if ($memoryLimitStr != '' && $memoryLimitStr != -1) {
172-
$this->_memoryLimit = (integer)$memoryLimitStr;
172+
$this->_memoryLimit = (int)$memoryLimitStr;
173173
switch (strtolower($memoryLimitStr[strlen($memoryLimitStr)-1])) {
174174
case 'g':
175175
$this->_memoryLimit *= 1024;

0 commit comments

Comments
 (0)