From aea5455f1d4e6f94807981ce45d9344d2982407d Mon Sep 17 00:00:00 2001 From: Jeroen van den Enden Date: Thu, 23 Feb 2023 09:04:29 +0100 Subject: [PATCH] No static --- src/Writer/AbstractGdWriter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Writer/AbstractGdWriter.php b/src/Writer/AbstractGdWriter.php index 56518b2..8f02376 100644 --- a/src/Writer/AbstractGdWriter.php +++ b/src/Writer/AbstractGdWriter.php @@ -120,7 +120,7 @@ public function write(QrCodeInterface $qrCode, LogoInterface|null $logo = null, return $result; } - private static function addLogo(LogoInterface $logo, GdResult $result): GdResult + private function addLogo(LogoInterface $logo, GdResult $result): GdResult { $logoImageData = LogoImageData::createForLogo($logo); @@ -160,7 +160,7 @@ private static function addLogo(LogoInterface $logo, GdResult $result): GdResult return new GdResult($matrix, $targetImage); } - private static function addLabel(LabelInterface $label, GdResult $result): GdResult + private function addLabel(LabelInterface $label, GdResult $result): GdResult { $targetImage = $result->getImage();