mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes
This commit is contained in:
parent
130a22fdf9
commit
ab7a28a091
@ -19,11 +19,8 @@ use Illuminate\Support\Facades\Storage;
|
|||||||
|
|
||||||
class GetInvoicePdf extends AbstractService
|
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()
|
public function run()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user