|
|
@ -34,7 +34,7 @@ class InvoiceQrCode |
|
|
public static function getQrCode($id): string |
|
|
public static function getQrCode($id): string |
|
|
{ |
|
|
{ |
|
|
$codeUrl = self::getDownFileUrl($id); |
|
|
$codeUrl = self::getDownFileUrl($id); |
|
|
|
|
|
ini_set('memory_limit', '256M'); |
|
|
$result = Builder::create() |
|
|
$result = Builder::create() |
|
|
->writer(new PngWriter()) |
|
|
->writer(new PngWriter()) |
|
|
->writerOptions([]) |
|
|
->writerOptions([]) |
|
|
|