Skip to content

Commit

Permalink
fix static analysis and doc
Browse files Browse the repository at this point in the history
  • Loading branch information
arti0090 committed Aug 18, 2021
1 parent 7c572b4 commit b503fff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Now on invoice admin and shop user can check if related order was paid before in
Collection $lineItems,
Collection $taxItems,
ChannelInterface $channel,
+ bool $isPaid,
+ string $paymentState,
InvoiceShopBillingDataInterface $shopBillingData = null
): InvoiceInterface {
// ...
Expand Down
1 change: 1 addition & 0 deletions src/Entity/InvoiceInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
interface InvoiceInterface extends ResourceInterface
{
public const PAYMENT_STATE_COMPLETED = 'completed';

public const PAYMENT_STATE_PENDING = 'pending';

public function id(): string;
Expand Down

0 comments on commit b503fff

Please sign in to comment.