Kaynağa Gözat

:book: fix #307

smiley 8 ay önce
ebeveyn
işleme
376c972de0
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      docs/Usage/Advanced-usage.md

+ 2 - 2
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.
 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
 ```php
-$options->outputType     = QROutputInterface::IMAGICK;
-$options->returnResource = true;
+$options->outputInterface = QRImagick::class;
+$options->returnResource  = true;
 
 
 /** @var Imagick $imagick */
 /** @var Imagick $imagick */
 $imagick = $qrcode->render($data);
 $imagick = $qrcode->render($data);