Skip to content

Commit

Permalink
Merge branch 'main' of github.com:spatie/laravel-pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Dec 27, 2023
2 parents 3ce0c7d + 6a51ea1 commit f05b933
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Exceptions/CouldNotCreatePdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@

class CouldNotCreatePdf extends Exception
{

}
2 changes: 1 addition & 1 deletion src/Pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ protected function getHtml(): string

if ($this->html) {
return $this->html;
};
}

return '&nbsp';
}
Expand Down
2 changes: 1 addition & 1 deletion tests/PdfTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
expect($this->targetPath)->toContainText('This is a test');
});

it('can create an empty pdf',function() {
it('can create an empty pdf', function () {
Pdf::html('')->save($this->targetPath);

expect($this->targetPath)->toBeFile();
Expand Down

0 comments on commit f05b933

Please sign in to comment.