Closed erikn69 closed 1 year ago
Hi,
it is important to identify the context in which the error appears. Could you provide an example? Maybe the class is not used as it should be... a similar problem happened to me when I added support for rotated pages: I used scalar values when I should have used classes.
https://github.com/dealfonso/sapp/pull/40 was the context
sorry, but maybe the object is not properly used.
Maybe this is a bug, I'm getting
It is because
$_value
onPDFObject
is not always an instance ofPDFValue
https://github.com/dealfonso/sapp/blob/61960ae449be7b86d47a625bab625b26db8e6ee3/src/pdfvalue/PDFValue.php#L67-L69Is there a better solution?