Skip to content

Commit 376c972

Browse files
committed
📖 fix #307
1 parent 9cf399d commit 376c972

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Usage/Advanced-usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ echo $qrcode->render($data);
252252
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.
253253

254254
```php
255-
$options->outputType = QROutputInterface::IMAGICK;
256-
$options->returnResource = true;
255+
$options->outputInterface = QRImagick::class;
256+
$options->returnResource = true;
257257

258258
/** @var Imagick $imagick */
259259
$imagick = $qrcode->render($data);

0 commit comments

Comments
 (0)