Skip to content

Commit

Permalink
Parameter is implicitly nullable via default value null
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiy-petrov authored Oct 28, 2024
1 parent a09cac2 commit fa1b9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PDF.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function output(array $options = []): string
/**
* Save the PDF to a file
*/
public function save(string $filename, string $disk = null): self
public function save(string $filename, ?string $disk = null): self
{
$disk = $disk ?: $this->config->get('dompdf.disk');

Expand Down

0 comments on commit fa1b9bf

Please sign in to comment.