1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Minor fixes

This commit is contained in:
David Bomba 2023-06-03 22:26:07 +10:00
parent 130a22fdf9
commit ab7a28a091

View File

@ -19,11 +19,8 @@ use Illuminate\Support\Facades\Storage;
class GetInvoicePdf extends AbstractService
{
public function __construct(Invoice $invoice, ClientContact $contact = null)
public function __construct(public Invoice $invoice, public ?ClientContact $contact = null)
{
$this->invoice = $invoice;
$this->contact = $contact;
}
public function run()