Skip to content

Commit 60154a3

Browse files
QuentinGabgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 00bd3a8 commit 60154a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/PdfInvoice.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct(
4141

4242
public function generateFilename(): string
4343
{
44-
return Str::slug("{$this->name}_{$this->serial_number}", separator: '_') . ".pdf";
44+
return Str::slug("{$this->name}_{$this->serial_number}", separator: '_').'.pdf';
4545
}
4646

4747
public function getFilename(): string
@@ -54,7 +54,7 @@ public function getLogo(): string
5454
$type = pathinfo($this->logo, PATHINFO_EXTENSION);
5555
$data = file_get_contents($this->logo);
5656

57-
return 'data:image/' . $type . ';base64,' . base64_encode($data);
57+
return 'data:image/'.$type.';base64,'.base64_encode($data);
5858
}
5959

6060
/**
@@ -96,7 +96,7 @@ public function totalTaxAmount(): Money
9696

9797
public function totalDiscountAmount(): Money
9898
{
99-
if (!$this->discounts) {
99+
if (! $this->discounts) {
100100
return Money::of(0, $this->subTotalAmount()->getCurrency());
101101
}
102102

0 commit comments

Comments
 (0)