Skip to content

Commit

Permalink
fixing cs
Browse files Browse the repository at this point in the history
  • Loading branch information
2amjsouza committed Dec 11, 2023
1 parent 33b8b92 commit 50654ea
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/Factory/LaravelQrCodeFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,11 @@ protected static function applyForeground(QrCodeInterface $qrCode, ?array $foreg
* @param string|null $gradientType
* @return void
*/
protected static function applyForeground2(QrCodeInterface $qrCode, ?array $foreground2,
?string $gradientType): void
{
protected static function applyForeground2(
QrCodeInterface $qrCode,
?array $foreground2,
?string $gradientType
): void {
if (is_null($foreground2)) {
return;
}
Expand Down Expand Up @@ -213,9 +215,13 @@ protected static function buildQrCode($content, ?string $format): QrCodeInterfac
return new QrCode($qrCodeFormat->getText());
}

protected static function applyLabel(QrCodeInterface $qrCode, ?string $label = null,
?string $fontPath = null, ?int $size = null, ?string $alignment = null ): void
{
protected static function applyLabel(
QrCodeInterface $qrCode,
?string $label = null,
?string $fontPath = null,
?int $size = null,
?string $alignment = null
): void {
if (! is_null($label)) {
$qrCode->setLabel(new Label(
$label,
Expand Down

0 comments on commit 50654ea

Please sign in to comment.