Skip to content

Commit e730cd9

Browse files
committed
Fixed PHP8.5 deprecation error
1 parent 0d48804 commit e730cd9

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)