File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,8 @@ public function dump(string $file = null):string{
7171$ data = 'https://www.youtube.com/watch?v=DLzxrzFCyOs&t=43s ' ;
7272
7373// invoke the QROutputInterface manually
74+ // please note that an QROutputInterface invoked this way might become unusable after calling dump().
75+ // the clean way would be to extend the QRCode class to ensure a new QROutputInterface instance on each call to render().
7476$ options = new QROptions ([
7577 'version ' => 5 ,
7678 'eccLevel ' => EccLevel::L,
Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ abstract class QROutputAbstract implements QROutputInterface{
5858 * QROutputAbstract constructor.
5959 */
6060 public function __construct (SettingsContainerInterface $ options , QRMatrix $ matrix ){
61- $ this ->options = $ options ;
62- $ this ->matrix = $ matrix ;
61+ $ this ->options = $ options ;
62+ $ this ->matrix = $ matrix ;
6363
6464 $ this ->setMatrixDimensions ();
6565 $ this ->setModuleValues ();
You can’t perform that action at this time.
0 commit comments