mirror of
https://github.com/anikeen-com/id.git
synced 2026-11-01 05:09:35 +00:00
refactor code
This commit is contained in:
1 parent
c641ec725d
commit
25248e7822
37 files changed
+180
-143
No files matched your search
@@ -19,6 +19,9 @@ class Invoice extends BaseResource
|
||||
*/
|
||||
public function getInvoiceTemporaryUrl(): string
|
||||
{
|
||||
return $this->billable->request('PUT', sprintf('v1/invoices/%s', $this->id))->data->temporary_url;
|
||||
return $this->billable->anikeenId()
|
||||
->request('PUT', sprintf('v1/invoices/%s', $this->id))
|
||||
->data
|
||||
->temporary_url;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user