We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f282bb commit 500805aCopy full SHA for 500805a
src/PdfInvoice.php
@@ -37,7 +37,7 @@ public function __construct(
37
38
public function generateFilename(): string
39
{
40
- return Str::snake($this->name) . "_{$this->serial_number}.pdf";
+ return Str::snake($this->name)."_{$this->serial_number}.pdf";
41
}
42
43
public function getFilename(): string
@@ -50,7 +50,7 @@ public function getLogo(): string
50
$type = pathinfo($this->logo, PATHINFO_EXTENSION);
51
$data = file_get_contents($this->logo);
52
53
- return 'data:image/' . $type . ';base64,' . base64_encode($data);
+ return 'data:image/'.$type.';base64,'.base64_encode($data);
54
55
56
public function subTotalAmount(): Money
0 commit comments