Set contact as nullable

This commit is contained in:
David Bomba 2023-03-15 23:06:06 +11:00
parent 4a3c674313
commit 38bf9ec773

View File

@ -19,7 +19,7 @@ use Illuminate\Support\Facades\Storage;
class GetQuotePdf extends AbstractService
{
public function __construct(public Quote $quote, public ClientContact $contact = null)
public function __construct(public Quote $quote, public ?ClientContact $contact = null)
{
$this->quote = $quote;