mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-16 16:37:47 +00:00
chore: phpstan fixes, rector
This commit is contained in:
parent
d19a079b8a
commit
b097b0a7d7
7 changed files with 15 additions and 17 deletions
|
|
@ -73,7 +73,7 @@ class StringMarkup extends FiltersProvider
|
|||
// Default module_size is 11
|
||||
// Size calculation: (21 modules for QR code + 4 modules margin on each side * 2) * module_size
|
||||
// = (21 + 8) * module_size = 29 * module_size
|
||||
$moduleSize = $moduleSize ?? 11;
|
||||
$moduleSize ??= 11;
|
||||
$size = 29 * $moduleSize;
|
||||
|
||||
$qrCode = QrCode::format('svg')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue