mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01: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
|
||||
{
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user