From 9290c45b956109e81609d922c8aebc154de100b2 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 18 Jun 2023 15:28:31 +1000 Subject: [PATCH] minor fixes --- app/Services/PdfMaker/PdfMaker.php | 4 ++-- app/Utils/Traits/Inviteable.php | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/app/Services/PdfMaker/PdfMaker.php b/app/Services/PdfMaker/PdfMaker.php index 21d4098c6c..26c375c567 100644 --- a/app/Services/PdfMaker/PdfMaker.php +++ b/app/Services/PdfMaker/PdfMaker.php @@ -84,8 +84,8 @@ class PdfMaker /** * Final method to get compiled HTML. * - * @param bool - * @return string + * @param bool $final @deprecated // is it? i still see it being called elsewhere + * @return mixed */ public function getCompiledHTML($final = false) { diff --git a/app/Utils/Traits/Inviteable.php b/app/Utils/Traits/Inviteable.php index e5defbd3ee..98584eed48 100644 --- a/app/Utils/Traits/Inviteable.php +++ b/app/Utils/Traits/Inviteable.php @@ -67,12 +67,9 @@ trait Inviteable $writer = new Writer($renderer); $qr = $writer->writeString($this->getPaymentLink(), 'utf-8'); - - return $qr; - // return "

{$qr}

"; - // return "

- // {$qr}

"; + return " + {$qr}"; } public function getUnsubscribeLink()