Skip to content

Commit d1f6516

Browse files
committed
AC-2892: fix return types in Zend_Pdf
- Rollback argument value update
1 parent f11a65d commit d1f6516

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

library/Zend/Pdf/Element/Reference.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,6 @@ public function __construct(
9494
Zend_Pdf_Element_Reference_Context $context,
9595
Zend_Pdf_ElementFactory $factory
9696
){
97-
// This was changed as PHP8 errors out if there's an optional parameter before a required param
98-
if (empty($genNum)) {
99-
$genNum = 0;
100-
}
101-
10297
if ( !(is_integer($objNum) && $objNum > 0) ) {
10398
#require_once 'Zend/Pdf/Exception.php';
10499
throw new Zend_Pdf_Exception('Object number must be positive integer');

0 commit comments

Comments
 (0)