Skip to content

Commit 86338cf

Browse files
committed
split constructor in multilines
1 parent dc4e99e commit 86338cf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/Providers/Qr/BaconQrCodeProvider.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,12 @@ class BaconQrCodeProvider implements IQRCodeProvider
2222
/**
2323
* Ensure we using the latest Bacon QR Code and specify default options
2424
*/
25-
public function __construct(private int $borderWidth = 4, private string|array $backgroundColour = '#ffffff', private string|array $foregroundColour = '#000000', private string $format = 'png')
26-
{
25+
public function __construct(
26+
private int $borderWidth = 4,
27+
private string|array $backgroundColour = '#ffffff',
28+
private string|array $foregroundColour = '#000000',
29+
private string $format = 'png',
30+
) {
2731
if (!class_exists(ImagickImageBackEnd::class)) {
2832
throw new RuntimeException('Make sure you are using version 2 of Bacon QR Code');
2933
}

0 commit comments

Comments
 (0)