From 80197e201b5638abc4a1c1a76d5b7f5bb79442e9 Mon Sep 17 00:00:00 2001 From: Bradley Taylor Date: Wed, 8 Nov 2023 20:43:16 +0000 Subject: [PATCH] [REF][PHP8.2] Declare properties in CRM_Utils_PDF_Label --- CRM/Utils/PDF/Label.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CRM/Utils/PDF/Label.php b/CRM/Utils/PDF/Label.php index c0b5d02b97..9e52dcf1db 100644 --- a/CRM/Utils/PDF/Label.php +++ b/CRM/Utils/PDF/Label.php @@ -140,6 +140,20 @@ class CRM_Utils_PDF_Label extends TCPDF { */ public $countY = 0; + /** + * Custom method for generating label, called against $this->generatorObject + * + * @var string|null + */ + protected $generatorMethod = NULL; + + /** + * Custom object used for generating label, used alongside $this->generatorMethod + * + * @var object + */ + protected $generatorObject; + /** * Constructor. * -- 2.25.1