Skip to content

Commit 26a51f4

Browse files
authored
Merge pull request #7 from magento-gl/PHP8.5_deprecation_fixes
Fixed the PHP 8.5 Deprecations
2 parents ce8e838 + 062a5b3 commit 26a51f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/Zend/Pdf/ElementFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ public function listModifiedObjects($rootFactory = null)
376376
$result = array();
377377
#require_once 'Zend/Pdf/UpdateInfoContainer.php';
378378
foreach ($this->_modifiedObjects as $objNum => $obj) {
379-
if ($this->_removedObjects->contains($obj)) {
379+
if ($this->_removedObjects->offsetExists($obj)) {
380380
$result[$objNum+$shift] = new Zend_Pdf_UpdateInfoContainer($objNum + $shift,
381381
$obj->getGenNum()+1,
382382
true);

0 commit comments

Comments
 (0)