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 34f2335 commit 6915f0d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
25 changes: 25 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,31 @@ 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
path: examples/sales-invoices/create-sales-invoice.php

-
message: "#^Variable \\$mollie might not be defined\\.$#"
count: 1
path: examples/sales-invoices/delete-sales-invoice.php

-
message: "#^Variable \\$mollie might not be defined\\.$#"
count: 1
path: examples/sales-invoices/list-sales-invoices.php

-
message: "#^Variable \\$mollie might not be defined\\.$#"
count: 1
path: examples/sales-invoices/update-sales-invoice.php

-
message: "#^Variable \\$mollie might not be defined\\.$#"
count: 1
Expand Down
1 change: 0 additions & 1 deletion src/Endpoints/SalesInvoiceEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ protected function getResourceCollectionObject($count, $_links): SalesInvoiceCol
* Creates a payment in Mollie.
*
* @param array $data An array containing details on the payment.
* @param array $filters
*
* @return SalesInvoice
* @throws ApiException
Expand Down

0 comments on commit 6915f0d

Please sign in to comment.