Skip to content

Commit

Permalink
fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoray committed Dec 10, 2024
1 parent 3f1c1fa commit fcdbbb0
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Http/Payload/CreateSalesInvoicePayload.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function __construct(
?PaymentDetails $paymentDetails = null,
?EmailDetails $emailDetails = null,
?string $webhookUrl = null,
?Discount $discount = null,
?Discount $discount = null
) {
$this->profileId = $profileId;
$this->currency = $currency;
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Payload/Discount.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Discount implements DataProvider

public function __construct(
string $type,
string $value,
string $value
) {
$this->type = $type;
$this->value = $value;
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Payload/EmailDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class EmailDetails implements DataProvider

public function __construct(
string $subject,
string $body,
string $body
) {
$this->subject = $subject;
$this->body = $body;
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Payload/InvoiceLine.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function __construct(
int $quantity,
string $vatRate,
Money $unitPrice,
?Discount $discount = null,
?Discount $discount = null
) {
$this->description = $description;
$this->quantity = $quantity;
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Payload/PaymentDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PaymentDetails implements DataProvider

public function __construct(
string $source,
?string $sourceDescription = null,
?string $sourceDescription = null
) {
$this->source = $source;
$this->sourceDescription = $sourceDescription;
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Payload/Recipient.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function __construct(
?string $vatNumber = null,
?string $phone = null,
?string $streetAdditional = null,
?string $region = null,
?string $region = null
) {
$this->type = $type;
$this->title = $title;
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Payload/UpdateSalesInvoicePayload.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct(
?Recipient $recipient = null,
?DataCollection $lines = null,
?string $webhookUrl = null,
?Discount $discount = null,
?Discount $discount = null
) {
$this->status = $status;
$this->paymentTerm = $paymentTerm;
Expand Down

0 comments on commit fcdbbb0

Please sign in to comment.