Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoray committed Dec 11, 2024
1 parent 6915f0d commit 1f7a76f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions examples/sales-invoices/create-sales-invoice.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

use Mollie\Api\Types\PaymentTerm;
use Mollie\Api\Types\SalesInvoiceStatus;

/*
Expand All @@ -21,7 +20,7 @@
'status' => SalesInvoiceStatus::DRAFT,
'vatScheme' => 'standard',
'vatMode' => 'inclusive',
'paymentTerm' => PaymentTerm::DAYS_30,
'paymentTerm' => '30 days',
'recipientIdentifier' => 'XXXXX',
'recipient' => [
'type' => 'consumer',
Expand Down
5 changes: 0 additions & 5 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,6 @@ parameters:
count: 1
path: examples/profiles/update-profile.php

-
message: "#^Access to constant DAYS_30 on an unknown class Mollie\\\\Api\\\\Types\\\\PaymentTerm\\.$#"
count: 1
path: examples/sales-invoices/create-sales-invoice.php

-
message: "#^Variable \\$mollie might not be defined\\.$#"
count: 1
Expand Down

0 comments on commit 1f7a76f

Please sign in to comment.