From 376c972de09ac136e0a416f3606432523512fc2e Mon Sep 17 00:00:00 2001 From: smiley Date: Thu, 1 May 2025 16:12:49 +0200 Subject: [PATCH] :book: fix #307 --- docs/Usage/Advanced-usage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Usage/Advanced-usage.md b/docs/Usage/Advanced-usage.md index 07122d0ed..0bc712a89 100644 --- a/docs/Usage/Advanced-usage.md +++ b/docs/Usage/Advanced-usage.md @@ -252,8 +252,8 @@ echo $qrcode->render($data); In some cases you might want to modify the QR image after creation (without crating a custom output class), in which case you want the internal image resource rather than the final output. ```php -$options->outputType = QROutputInterface::IMAGICK; -$options->returnResource = true; +$options->outputInterface = QRImagick::class; +$options->returnResource = true; /** @var Imagick $imagick */ $imagick = $qrcode->render($data);