diff --git a/src/QrCode.php b/src/QrCode.php index c37a952..eb0ea17 100644 --- a/src/QrCode.php +++ b/src/QrCode.php @@ -178,8 +178,13 @@ public function setLogoSize(int $logoWidth, int $logoHeight = null): void $this->logoHeight = $logoHeight; } + /** + * @deprecated + */ public function setLogoWidth(int $logoWidth): void { + trigger_error('Method ' . __METHOD__ . ' is deprecated', E_USER_DEPRECATED); + $this->logoWidth = $logoWidth; }