dealfonso / sapp

Simple and Agnostic PDF Document Parser in PHP - sign PDF docs using PHP
GNU Lesser General Public License v3.0
119 stars 32 forks source link

Global constants to class properties #75

Closed erikn69 closed 3 months ago

erikn69 commented 3 months ago

causes a error constant already defined when using the library to sign multiple times a document. The constant is created during the first sign. I suppose that this __SIGNATURE_MAX_LENGTH depends of signature_data parameters so should be move to a protected parameter instead of a global constant