Added support to disable rounding on block size for QR codes

This commit is contained in:
Alejandro Celaya
2021-12-06 17:10:10 +01:00
parent 81ba8dc518
commit bf09990f9c
6 changed files with 34 additions and 2 deletions

View File

@@ -45,7 +45,8 @@ class QrCodeAction implements MiddlewareInterface
->size($params->size())
->margin($params->margin())
->writer($params->writer())
->errorCorrectionLevel($params->errorCorrectionLevel());
->errorCorrectionLevel($params->errorCorrectionLevel())
->roundBlockSizeMode($params->roundBlockSizeMode());
return new QrCodeResponse($qrCodeBuilder->build());
}