From 1f7a76f0cfc8fae2ee0271f327ff4cf7b2925c45 Mon Sep 17 00:00:00 2001 From: Krishan Koenig Date: Wed, 11 Dec 2024 16:56:54 +0100 Subject: [PATCH] wip --- examples/sales-invoices/create-sales-invoice.php | 3 +-- phpstan-baseline.neon | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/sales-invoices/create-sales-invoice.php b/examples/sales-invoices/create-sales-invoice.php index 69f93a84..a3a4aed1 100644 --- a/examples/sales-invoices/create-sales-invoice.php +++ b/examples/sales-invoices/create-sales-invoice.php @@ -1,6 +1,5 @@ SalesInvoiceStatus::DRAFT, 'vatScheme' => 'standard', 'vatMode' => 'inclusive', - 'paymentTerm' => PaymentTerm::DAYS_30, + 'paymentTerm' => '30 days', 'recipientIdentifier' => 'XXXXX', 'recipient' => [ 'type' => 'consumer', diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 67a10b8f..17bb3a20 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -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