Using PragmaRX\Google2FAQRCode\QRCode\Back::__construct to set a imageBackend doesn't work because the variable name isn't same as used in getImageBackend.
Renamed $this->imageBackend to $this->imageBackEnd as is defined in class header protected $imageBackEnd;.
Using
PragmaRX\Google2FAQRCode\QRCode\Back::__construct
to set a imageBackend doesn't work because the variable name isn't same as used ingetImageBackend
.Renamed
$this->imageBackend
to$this->imageBackEnd
as is defined in class headerprotected $imageBackEnd;
.