We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f11a65d commit d1f6516Copy full SHA for d1f6516
library/Zend/Pdf/Element/Reference.php
@@ -94,11 +94,6 @@ public function __construct(
94
Zend_Pdf_Element_Reference_Context $context,
95
Zend_Pdf_ElementFactory $factory
96
){
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
-
102
if ( !(is_integer($objNum) && $objNum > 0) ) {
103
#require_once 'Zend/Pdf/Exception.php';
104
throw new Zend_Pdf_Exception('Object number must be positive integer');
0 commit comments