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{
71
71
$ data = 'https://www.youtube.com/watch?v=DLzxrzFCyOs&t=43s ' ;
72
72
73
73
// 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().
74
76
$ options = new QROptions ([
75
77
'version ' => 5 ,
76
78
'eccLevel ' => EccLevel::L,
Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ abstract class QROutputAbstract implements QROutputInterface{
58
58
* QROutputAbstract constructor.
59
59
*/
60
60
public function __construct (SettingsContainerInterface $ options , QRMatrix $ matrix ){
61
- $ this ->options = $ options ;
62
- $ this ->matrix = $ matrix ;
61
+ $ this ->options = $ options ;
62
+ $ this ->matrix = $ matrix ;
63
63
64
64
$ this ->setMatrixDimensions ();
65
65
$ this ->setModuleValues ();
You can’t perform that action at this time.
0 commit comments